wallet icon indicating copy to clipboard operation
wallet copied to clipboard

advanced setting: change gap limit

Open xbtdev opened this issue 11 years ago • 2 comments

I would like to be able to use a CoPay xpub with BC.i's api receive v2. This will power a bitcoin web-app and it will generate a new deposit address for each user, potentially creating a few thousand addresses.

It would be great if there was an advanced option to change the gap limit.

Electrum has a similar advanced option:

wallet.storage.put('gap_limit',1000)

xbtdev avatar Nov 24 '15 18:11 xbtdev

I would recommend Mycelium Gear over Blockchain.info. Blockchain.info's API is always down and not responding, so we moved all our services away from them a long time ago.

Just a forewarning, code whatever it is you're making under the assumption that your query to BC.i will timeout.

As for Copay gap limit, currently the gap limit just tells Copay to not generate addresses over the gap limit, however Copay will only actively scan addresses that BWS generated.

This issue would require a "full path rescan" function.

dabura667 avatar Nov 25 '15 00:11 dabura667

"full path rescan" is currently available at Settings > Advanced > Wallet info.

The GAP at BWS was bumped to 40.

In the copay-recovery-tool the gap is configurable.

matiu avatar Jun 09 '16 02:06 matiu