mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-17 15:28:45 +00:00
cb0c382bf3
* Fix Fork Choice prunning * Use copy node. Update comments and var names. * rm unused err var Co-authored-by: terence tsao <terence@prysmaticlabs.com>
13 lines
582 B
Go
13 lines
582 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 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")
|