github.com/neatio-net/neatio@v1.7.3-0.20231114194659-f4d7a2226baa/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 )