Expand description
Entrypoint for sync engine
Structs§
- Scan
Range - A range of blocks to be scanned, along with its associated priority.
- Sync
Result - Returned when
crate::sync::syncsuccessfully completes. - Sync
Status - A snapshot of the current state of sync. Useful for displaying the status of sync to a user / consumer.
Enums§
- Scan
Priority - Scanning range priority levels.
Functions§
- add_
scan_ targets - API for targetted scanning.
- reset_
spends - Resets the spending transaction field of all outputs that were previously spent but became unspent due to a spending transactions becoming invalid.
- scan_
pending_ transaction - Scans a pending
transactionof a givenstatus, adding to the wallet and updating output spend statuses. - sync
- Syncs a wallet to the latest state of the blockchain.
- sync_
status - Creates a
self::SyncStatusfrom the wallet’s currentcrate::wallet::SyncState.