Post
Topic
Board Electrum
Re: Missing addresses from imported master public key
by
Sidney986
on 18/07/2023, 18:21:38 UTC
Yes is just the first address used.  Have to go online tomorrow and see if that missing address shows on windows version.
There is no need to connect your wallet to internet.

Just go to console and increase the gap limit using the following command. (If you don't see the "console" tab, click on "View" at top of the window and check "Console".)

Code:
wallet.change_gap_limit(50)
This command will increase the gap limit to 50. You can change the 50 to any number you want.


You can also generate more addresses without increasing the gap limit using the following command.

Code:
[wallet.create_new_address(False) for i in range(10)]
This command will generate 10 more addresses. You can change the 50 to any number you want.



Thank you. Useful info to know.

So if I increased the gap limit and used all those extra addresses, then restored the wallet afresh, those extra addresses would not show.  Would electrum be able to spend from them or only once I increased the gap limit.to let electrum know about them.