mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
26ec352bdc
* add synced_tips structure * create optimisticStore type * Add UpdateSyncedTips * use context * update comment * use better context cancellation * reinsert removed error from different PR * Minor clean ups Co-authored-by: terence tsao <terence@prysmaticlabs.com>
14 lines
655 B
Go
14 lines
655 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 errInvalidBestChildIndex = errors.New("best child 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")
|