From 399ea2a09155130e9519c58f85f3cf9fa5215f84 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Wed, 23 Sep 2026 13:32:00 +0200 Subject: [PATCH] bip138: clarify derivation ranges using BIP32 Identify range bounds as BIP32 non-hardened child indexes, ordered from start to end. --- bip-0138.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bip-0138.md b/bip-0138.md index 9affdfb7..555bb3de 100644 --- a/bip-0138.md +++ b/bip-0138.md @@ -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