Documentation ¶
Overview ¶
nolint
Index ¶
- Variables
- func CurrentFinalizedBlock(tx kv.Tx, number uint64) *types.Block
- func GetFinalizedBlockNumber(tx kv.Tx) uint64
- func IsMilestoneRewindPending() bool
- func RetryHeimdallHandler(fn heimdallHandler, config *config, tickerDuration time.Duration, ...)
- func Whitelist(heimdall heimdall.HeimdallClient, borDB kv.RwDB, chainDB kv.RwDB, ...)
- type BorAPI
Constants ¶
This section is empty.
Variables ¶
View Source
var BorMilestoneRewind atomic.Pointer[uint64]
BorMilestoneRewind is used as a flag/variable Flag: if equals 0, no rewind according to bor whitelisting service Variable: if not equals 0, rewind chain back to BorMilestoneRewind
View Source
var (
ErrNotInRejectedList = errors.New("MilestoneID not in rejected list")
)
Functions ¶
func CurrentFinalizedBlock ¶
CurrentFinalizedBlock retrieves the current finalized block of the canonical chain. The block is retrieved from the blockchain's internal cache.
func GetFinalizedBlockNumber ¶
func IsMilestoneRewindPending ¶
func IsMilestoneRewindPending() bool
func RetryHeimdallHandler ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.