github.com/neatlab/neatio@v1.7.3-0.20220425043230-d903e92fcc75/chain/consensus/errors.go (about)

     1  package consensus
     2  
     3  import "errors"
     4  
     5  var (
     6  	ErrUnknownAncestor = errors.New("unknown ancestor")
     7  
     8  	ErrPrunedAncestor = errors.New("pruned ancestor")
     9  
    10  	ErrFutureBlock = errors.New("block in the future")
    11  
    12  	ErrInvalidNumber = errors.New("invalid block number")
    13  )