mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 02:31:19 +00:00
83a83279d4
* Remove synced tips use last valid hash in removing invalid nodes. * add test * Remove unused code * More unused parameters * Fix proposer boost * terence's review #1 * Fix conflicts * terence's review 2 * rename argument * terence's review #3 * rename optimistic -> status * Minor clean up * revert loop variable change * do not mark lvh as valid Co-authored-by: terence tsao <terence@prysmaticlabs.com>
16 lines
790 B
Go
16 lines
790 B
Go
package protoarray
|
|
|
|
import "errors"
|
|
|
|
var errUnknownFinalizedRoot = errors.New("unknown finalized root")
|
|
var errUnknownJustifiedRoot = errors.New("unknown justified root")
|
|
var errInvalidNodeIndex = errors.New("node index is invalid")
|
|
var errInvalidFinalizedNode = errors.New("invalid finalized block on chain")
|
|
var ErrUnknownNodeRoot = errors.New("unknown block root")
|
|
var errInvalidJustifiedIndex = errors.New("justified index is invalid")
|
|
var errInvalidBestDescendantIndex = errors.New("best descendant index is invalid")
|
|
var errInvalidParentDelta = errors.New("parent delta is invalid")
|
|
var errInvalidNodeDelta = errors.New("node delta is invalid")
|
|
var errInvalidDeltaLength = errors.New("delta length is invalid")
|
|
var errInvalidOptimisticStatus = errors.New("invalid optimistic status")
|