Structs§
- A higher-level client that validates all information.
- An in-memory state cache.
- In-memory trust store.
- Automatically generated client type that communicates to servers implementing the NodeRpcProtocol protocol. The easiest way to use this is by using the
From<RpcTransport>
implementation. - Automatically generated struct that wraps any ‘business logic’ struct implementing NodeRpcProtocol, and returns a JSON-RPC server implementing nanorpc::RpcService. See the NodeRpcProtocol trait for further documentation.
- A “snapshot” of the state at a given state. It essentially encapsulates a NodeClient and a trusted header.
Enums§
- Errors that a Client may return
- Change in coins.
- Automatically generated error type that NodeRpcClient instances return from its methods
Traits§
- A trait that abstracts over a key-value cache for verified on-chain information. Only the “blob” methods are mandatory to implement.
- Standard interface for persisting a trusted block.
Functions§
- Sets the global state cache. Only affects crate::Client instances that are created after this point!