KarolTrzeszczkowski / Inter-Wallet-Transfer-EC-plugin

A plugin, that sends your coins to another wallet one by one, every time to a fresh address.
GNU General Public License v3.0
8 stars 8 forks source link

Performance edits #25

Closed zveda closed 3 years ago

zveda commented 3 years ago

Very minor changes. Relies on freezing used addresses to avoid re-use rather than waiting for the synchronizer to fetch address history. Bit of a hack but seems to work. Also uses recipient_wallet.is_fully_settled_down() instead of recipient_wallet.is_up_to_date(), as at some point the wallet can say it is up to date, but synchronizer and verifier still have lots of work to do, and get_unused_address() will return None.

Tested with wallets over 10k addresses and over 140 transactions per hour.