func (status blockStatus) KnownValid() bool {
	return status&statusValid != 0
}
KnownValid returns whether the block is known to be valid. This will return
false for a valid block that has not been fully validated yet.
package blockchain
import (
	"math/big"
	"sort"
	"sync"
	"time"
	"github.com/soteria-dag/soterd/chaincfg"
	"github.com/soteria-dag/soterd/chaincfg/chainhash"
	"github.com/soteria-dag/soterd/database"
	"github.com/soteria-dag/soterd/wire"
)
type blockStatus byte
const (
	statusDataStored blockStatus = 1 << iota
	statusValid
	statusValidateFailed
	statusInvalidAncestor
	statusNone blockStatus = 0
)
func (status blockStatus) HaveData() bool {
	return status&statusDataStored != 0
}