Receive-chain gap 200 and change-chain gap 100 everywhere a chain is walked: daemon /balance (new gapInternal, cap 200), Blockbook xpub queries, history ownership set, and the signing-key derivation in Send so anything the scan finds is spendable. Trailing-zero trimming now applies to the hero balance and assets row only; history, details and the send review keep eight decimals. The hero number no longer wraps — long balances step down in size. Price feed defaults on; existing configs flipped once via the v3 marker.
7 lines
420 B
TypeScript
7 lines
420 B
TypeScript
// Address-chain gap limits used by every scan and by key derivation for
|
|
// signing. 200 receive / 100 change — the same depth the DigiScope
|
|
// Android wallet probes during its "universal restore" — so a wallet
|
|
// that handed out many addresses over its life is still found. Signing
|
|
// derives the same depth so anything the scan finds can be spent.
|
|
export const GAP_EXTERNAL = 200;
|
|
export const GAP_INTERNAL = 100;
|