Skip to main content

Module sync

Module sync 

Source
Available on crate features sync-decryptor or sync only.
Expand description

Implementation of the synchronization flow described in the crate root.

This is currently a simple implementation that does not yet implement a few features:

  • Block batches are not downloaded in parallel with scanning.
  • Transactions are not enhanced once detected (that is, after an output is detected in a transaction, the full transaction is not downloaded and scanned).
  • There is no mechanism for notifying the caller of progress updates.
  • There is no mechanism for interrupting the synchronization flow, other than ending the process.

Modules§

decryptorsync-decryptor
Full block batch decryption engine.

Enums§

Errorsync
Errors that can occur while syncing.

Functions§

runsync
Scans the chain until the wallet is up-to-date.