2022-03-09 03:05:51 +00:00
|
|
|
package doublylinkedtree
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
2022-03-15 20:52:59 +00:00
|
|
|
var ErrNilNode = errors.New("invalid nil or unknown node")
|
2022-05-02 13:53:22 +00:00
|
|
|
var errInvalidParentRoot = errors.New("invalid parent root")
|
2022-03-09 03:05:51 +00:00
|
|
|
var errInvalidProposerBoostRoot = errors.New("invalid proposer boost root")
|
|
|
|
var errUnknownFinalizedRoot = errors.New("unknown finalized root")
|
|
|
|
var errUnknownJustifiedRoot = errors.New("unknown justified root")
|
|
|
|
var errInvalidOptimisticStatus = errors.New("invalid optimistic status")
|
2022-05-22 18:37:01 +00:00
|
|
|
var errInvalidNilCheckpoint = errors.New("invalid nil checkpoint")
|
2022-05-21 13:27:07 +00:00
|
|
|
var errInvalidUnrealizedJustifiedEpoch = errors.New("invalid unrealized justified epoch")
|
|
|
|
var errInvalidUnrealizedFinalizedEpoch = errors.New("invalid unrealized finalized epoch")
|
2022-06-05 17:48:21 +00:00
|
|
|
var errNilBlockHeader = errors.New("invalid nil block header")
|