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")
|
|
|
|
var errInvalidJustifiedIndex = errors.New("justified index is invalid")
|
2022-01-31 15:05:05 +00:00
|
|
|
var errInvalidBestChildIndex = errors.New("best child index is invalid")
|
2020-01-22 20:19:52 +00:00
|
|
|
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")
|