Expand description
A Zebra Remote Procedure Call (RPC) interface
Modules§
- client
- Client for Zebra’s RPC server. Types, constants, and functions needed by clients of Zebra’s RPC server
- config
- User-configurable settings.
- indexer
- A tonic RPC server for Zebra’s indexer API.
- methods
- Zebra supported RPC methods.
- queue
- Transaction Queue.
- server
- A JSON-RPC 1.0 & 2.0 endpoint for Zebra.
- sync
- Syncer task for maintaining a non-finalized state in Zebra’s ReadStateService and updating
ChainTipSender
via RPCs
Structs§
- Submit
Block Channel - A submit block channel, used to inform the gossip task about mined blocks.
Functions§
- fetch_
state_ tip_ and_ local_ time - Returns the state data for the block template.
- generate_
coinbase_ and_ roots - Generates and returns the coinbase transaction and default roots.
- proposal_
block_ from_ template - Returns a block proposal generated from a
BlockTemplateResponse
RPC response.