mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +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>
12 lines
507 B
Go
12 lines
507 B
Go
package doublylinkedtree
|
|
|
|
import "errors"
|
|
|
|
var ErrNilNode = errors.New("invalid nil or unknown node")
|
|
var errInvalidBalance = errors.New("invalid node balance")
|
|
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")
|