2020-01-22 20:19:52 +00:00
|
|
|
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")
|
2022-04-06 14:18:30 +00:00
|
|
|
var errInvalidFinalizedNode = errors.New("invalid finalized block on chain")
|
2022-03-15 20:52:59 +00:00
|
|
|
var ErrUnknownNodeRoot = errors.New("unknown block root")
|
2020-01-22 20:19:52 +00:00
|
|
|
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")
|
2022-04-06 14:18:30 +00:00
|
|
|
var errInvalidOptimisticStatus = errors.New("invalid optimistic status")
|
2022-05-21 13:27:07 +00:00
|
|
|
var errInvalidUnrealizedJustifiedEpoch = errors.New("invalid unrealized justified epoch")
|
|
|
|
var errInvalidUnrealizedFinalizedEpoch = errors.New("invalid unrealized finalized epoch")
|