Expand description
Access to Zebra chain tip information.
Zebra has 3 different interfaces for access to chain tip information:
- zebra_state::Request: [tower::Service] requests about chain state,
- LatestChainTip for efficient access to the current best tip, and
- ChainTipChange to
await
specific changes to the chain tip.
Structs§
- Chain
TipBlock - A chain tip block, with precalculated block data.
- Chain
TipChange - A chain tip change monitor.
- Chain
TipSender - A sender for changes to the non-finalized and finalized chain tips.
- Latest
Chain Tip - Efficient access to the state’s current best chain tip.
Enums§
- TipAction
- Actions that we can take in response to a
ChainTipChange
.
Type Aliases§
- Chain
TipData 🔒 - The internal watch channel data type for
ChainTipSender
,LatestChainTip
, andChainTipChange
.