twallet: increase gap limit for change (6 -> 10) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit cdecc4e3fa2119d052e047ddca98924f9fd606bf DIR parent 530a446172ac244a7a96b277edfeae9fffa65c1d HTML Author: SomberNight <somber.night@protonmail.com> Date: Fri, 22 May 2020 17:18:43 +0200 wallet: increase gap limit for change (6 -> 10) We are now using change addresses for the channel SRK to_remote outputs (and reserving these change addresses). (see prev commits) Note that every channel open we initiate typically uses two change addresses: - one for the SRK to_remote output, and - one for the funding tx change output (assuming there is change). Diffstat: M electrum/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/wallet.py b/electrum/wallet.py t@@ -218,7 +218,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC): LOGGING_SHORTCUT = 'w' max_change_outputs = 3 - gap_limit_for_change = 6 + gap_limit_for_change = 10 txin_type: str wallet_type: str