Module chain_tip

Source
Expand description

Access to Zebra chain tip information.

Zebra has 3 different interfaces for access to chain tip information:

Structs§

ChainTipBlock
A chain tip block, with precalculated block data.
ChainTipChange
A chain tip change monitor.
ChainTipSender
A sender for changes to the non-finalized and finalized chain tips.
LatestChainTip
Efficient access to the state’s current best chain tip.

Enums§

TipAction
Actions that we can take in response to a ChainTipChange.

Type Aliases§

ChainTipData 🔒
The internal watch channel data type for ChainTipSender, LatestChainTip, and ChainTipChange.