HomePhabricator

[electrum] add the option to always add new addresses to wallet when scanning…

Description

[electrum] add the option to always add new addresses to wallet when scanning beyond gap

Summary:
Users have requested a better solution for generating more addresses without having to use console command.
This adds a checkbox to the "Scan More Addresses" tool. Users can optionnaly check it to save all the newly scanned addresses to the wallet, no matter if any tx history was found for any following address.

Note that as a result of this the wallet will monitor more unused addresses than the usual 20 (default gap limit), so it is not something I recommend doing for wallets with already a large history.

Depends on D15848

Test Plan:
use the Scan More Addresses tool with the new checkbox toggled. Make sure the expected number of new addresses is added to the Address tab.
Try scanning for only receive addresses, only change addresses, and both.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15849

Details

Provenance
PiRKAuthored on Apr 2 2024, 08:53
PiRKPushed on Apr 2 2024, 19:41
Reviewer
Restricted Project
Differential Revision
D15849: [electrum] add the option to always add new addresses to wallet when scanning beyond gap
Parents
rABC5a6c1d2cb91c: Bump the minimum block count for makeseeds.py
Branches
Unknown
Tags
Unknown