bip138: clarify derivation ranges using BIP32

Identify range bounds as BIP32 non-hardened child indexes, ordered from
start to end.
This commit is contained in:
Sjors Provoost committed 2026-09-23 13:59:05 +02:00
1 parent 51995cc228
commit 399ea2a091
1 file changed
+5 -3
+5 -3
View File
@@ -481,7 +481,8 @@ If optional boolean `archived` is `true`, importing wallets SHOULD NOT use the
descriptor set for new address generation.
`range` is an optional two-element array `[start, end]`, inclusive, describing
the ranged derivation indexes covered by the descriptor set.
the [BIP32](bip-0032.mediawiki) non-hardened child indexes covered by the
descriptor set, with `start <= end`.
`birth_time` is an optional integer Unix timestamp in seconds, indicating a
lower bound for when the descriptor set may have received funds. Importing
@@ -521,8 +522,9 @@ optional metadata fields:
If optional boolean `archived` is `true`, importing wallets SHOULD NOT use the
policy for new address generation.
`range` is an optional two-element array `[start, end]`, inclusive, describing the
ranged derivation indexes covered by the policy.
`range` is an optional two-element array `[start, end]`, inclusive, describing
the [BIP32](bip-0032.mediawiki) non-hardened child indexes covered by the
policy, with `start <= end`.
`birth_time` is an optional integer Unix timestamp in seconds, indicating a lower
bound for when the policy may have received funds. Importing wallets MAY use this