Browse Source
confirmation as per TIMEOUT section in config. Mark wallet as synced after sync_unspent in Core interface (to match Electrum interface, and wait for this update before modifying orders). To correspond, allow fast sync in test setup in several tests. Disallow sync_unspent in syncing wallet full mode if sync_addresses fails. This prevents the wallet erroneously being marked as synced in full mode. This change happened as a result of the new electrum wallet sync; because this is asynchronous, the call to sync_unspent in the client protocol does not block, thus must be flagged when complete, this is done with bci.wallet_synced set to True at end of sync_unspent. But this leads to the wallet as always being marked synced using full sync_mode if we call both functions unconditionally. These wallet sync conditions have become unwieldy; a refactor is in order. Some small extra documentation in docs/TODO.md.master
7 changed files with 48 additions and 23 deletions
Loading…
Reference in new issue