mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 19:51:20 +00:00
2536195be0
* Change forkchoice API doubly-linked-tree changes * protoarray changes * blockchain tests * rebase and fix conflicts * More blockchain fixes * blockchain test fixes * doubly linked tree changes again * protoarray changes v2 * blockchain packages v2 * Radek's review * Fix on batch processing * Terence's review * fill in at start * Revert "fill in at start" This reverts commit 8c11db063a02a59df8e0ac6d0af0c8923921dc76. * wrap error message * fill in before mutating the state * wrap nil node errors * handle unknown optimistic status on init sync * rename insert function * prune on batches only after forkchoice insertion Co-authored-by: terencechain <terence@prysmaticlabs.com>
16 lines
819 B
Go
16 lines
819 B
Go
package doublylinkedtree
|
|
|
|
import "errors"
|
|
|
|
var ErrNilNode = errors.New("invalid nil or unknown node")
|
|
var errInvalidParentRoot = errors.New("invalid parent root")
|
|
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")
|
|
var errUnknownPayloadHash = errors.New("unknown payload hash")
|
|
var errInvalidNilCheckpoint = errors.New("invalid nil checkpoint")
|
|
var errInvalidUnrealizedJustifiedEpoch = errors.New("invalid unrealized justified epoch")
|
|
var errInvalidUnrealizedFinalizedEpoch = errors.New("invalid unrealized finalized epoch")
|
|
var errNilBlockHeader = errors.New("invalid nil block header")
|