Expand description
Module for wallet structs and types generated by the sync engine from block chain data or to track the wallet’s sync status. The structs will be (or be transposed into) the fundamental wallet components for the wallet interfacing with this sync engine.
Modules§
- serialization
- Serialization and de-serialization of wallet structs in
crate::walletincluding utilities. - traits
- Traits for interfacing a wallet with the sync engine
Structs§
- Initial
Sync State - Initial sync state.
- Nullifier
Map - Binary tree map of nullifiers from transaction spends or actions
- Outgoing
Note - Note sent from this capability to a recipient.
- Output
Id - Output ID for a given pool type.
- Shard
Trees - Shard tree wallet data struct
- Sync
State - Encapsulates the current state of sync
- Transparent
Coin - Transparent coin (output) with metadata relevant to the wallet.
- Tree
Bounds - Initial and final tree sizes.
- Wallet
Block - Wallet block data
- Wallet
Note - Wallet note, shielded output with metadata relevant to the wallet.
- Wallet
Transaction - Wallet transaction
Enums§
- Sync
Mode - Sync modes.
Traits§
- Note
Interface - Provides a common API for all shielded output types.
- Outgoing
Note Interface - Provides a common API for all outgoing note types.
- Output
Interface - Provides a common API for all output types.
Type Aliases§
- Locator
- Block height and txid of relevant transactions that have yet to be scanned. These may be added due to transparent output/spend discovery or for targetted rescan.
- Orchard
Note - Orchard note.
- Orchard
Shard Store - Type alias for orchard memory shard store
- Outgoing
Orchard Note - Outgoing orchard note.
- Outgoing
Sapling Note - Outgoing sapling note.
- Sapling
Note - Sapling note.
- Sapling
Shard Store - Type alias for sapling memory shard store