Module wallet

Module wallet 

Source
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::wallet including utilities.
traits
Traits for interfacing a wallet with the sync engine

Structs§

InitialSyncState
Initial sync state.
NullifierMap
Binary tree map of nullifiers from transaction spends or actions
OutgoingNote
Note sent from this capability to a recipient.
OutputId
Output ID for a given pool type.
ShardTrees
Shard tree wallet data struct
SyncState
Encapsulates the current state of sync
TransparentCoin
Transparent coin (output) with metadata relevant to the wallet.
TreeBounds
Initial and final tree sizes.
WalletBlock
Wallet block data
WalletNote
Wallet note, shielded output with metadata relevant to the wallet.
WalletTransaction
Wallet transaction

Enums§

SyncMode
Sync modes.

Traits§

NoteInterface
Provides a common API for all shielded output types.
OutgoingNoteInterface
Provides a common API for all outgoing note types.
OutputInterface
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.
OrchardNote
Orchard note.
OrchardShardStore
Type alias for orchard memory shard store
OutgoingOrchardNote
Outgoing orchard note.
OutgoingSaplingNote
Outgoing sapling note.
SaplingNote
Sapling note.
SaplingShardStore
Type alias for sapling memory shard store