utils

package
v1.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvForceFinalityAfterBlocks

func GetEnvForceFinalityAfterBlocks() *uint64

func GetEnvMergerMaxUnlinkableBlocks added in v1.19.0

func GetEnvMergerMaxUnlinkableBlocks() *int

GetEnvMergerMaxUnlinkableBlocks reads MERGER_MAX_UNLINKABLE_BLOCKS, the operator override for the merger's maxUnlinkableBlocks circuit breaker (normally bundleSize*4 — see merger.run()). Deployments running many one-block-file writers (readers/relayers), or chains fast enough that bundleSize*4 blocks cover only a few seconds of real time, can exceed that default during an ordinary reorg or brief writer hiccup and fatally crash-loop the merger. Returns nil (caller keeps its own default) if unset or invalid.

func TweakBlockFinality

func TweakBlockFinality(blk *pbbstream.Block, maxDistanceToBlock uint64)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL