Module zebra_state::service::chain_tip
source · 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§
- A chain tip block, with precalculated block data.
- A chain tip change monitor.
- A sender for changes to the non-finalized and finalized chain tips.
- Efficient access to the state’s current best chain tip.
Enums§
- Actions that we can take in response to a
ChainTipChange
.