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.
- Ironwood
- Marker for the Ironwood pool. Ironwood reuses Orchard’s note and nullifier types (note version V3), so without the marker its wallet note type would be the same type as the Orchard one.
- Nullifier
Map - Binary tree map of nullifiers from transaction spends or actions
- Orchard
- Marker for the Orchard pool, distinguishing note types whose inner data is otherwise identical.
- Outgoing
Note - Note sent from this capability to a recipient.
Pis the pool marker (Sapling,OrchardorIronwood). - Output
Id - Output ID for a given pool type.
- Pool
Activation - A pool’s activation height: the block height at which the pool begins to exist on the chain.
- Sapling
- Marker for the Sapling pool, distinguishing note types whose inner data is otherwise identical.
- Scan
Target - A block, or a transaction in it, that scanning must reach. A target names a block height and, when a particular transaction is wanted, its txid. Two targets naming the same block height and txid are the same target.
- 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.
Pis the pool marker (Sapling,OrchardorIronwood). - Wallet
Transaction - Wallet transaction
Enums§
- Sync
Mode - Sync modes.
Traits§
- KeyId
Interface - Provides a common API for all key identifiers.
- 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.
Functions§
- pool_
upgrade - The network upgrade at which a shielded pool begins to exist.
Type Aliases§
- Ironwood
Note - Ironwood note. Shares Orchard’s note and nullifier types (version V3) but belongs to the Ironwood pool with its own note commitment tree.
- Orchard
Note - Orchard note.
- Orchard
Shard Store - Type alias for orchard memory shard store
- Outgoing
Ironwood Note - Outgoing ironwood note. Shares Orchard’s note and receiver types.
- 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