summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Petukhov <dp@simplexum.com>2021-05-11 17:51:24 +0500
committerDmitry Petukhov <dp@simplexum.com>2021-05-15 11:24:37 +0500
commit25f8c3e69477bd330e5ed01a3bfa9ce29abef4b7 (patch)
treed7e506a6bc29dc4c62ab9fda4a6d16d1a9bed5ba
parentc90c76bc1bd13501c2e61ece0aba5f0c904225ed (diff)
downloadbips-25f8c3e69477bd330e5ed01a3bfa9ce29abef4b7.tar.xz
bip-path-templates: Add Compatibility section
-rw-r--r--bip-path-templates.mediawiki8
1 files changed, 8 insertions, 0 deletions
diff --git a/bip-path-templates.mediawiki b/bip-path-templates.mediawiki
index 9888c16..82a7e6a 100644
--- a/bip-path-templates.mediawiki
+++ b/bip-path-templates.mediawiki
@@ -197,6 +197,14 @@ At the moment, three implementations exist:
* FSM implementation in Python (micropython compatible): https://github.com/dgpv/bip32_template_python_implementation
* non-FSM implementation in python: BIP32PathTemplate class in bitcointx.core.key module of python-bitcointx library (https://github.com/Simplexum/python-bitcointx)
+==Compatibility==
+
+The full path template that only contains Unit index templates represents a fully valid BIP32 path.
+
+There's no other path template standards that is known to the author currently.
+
+There is a discussion on path templating for bitcoin script descriptors at https://github.com/bitcoin/bitcoin/issues/17190, which proposes the format '''"xpub...{0,1}/*"''', of which the '''"{0,1}/*"''' part would correspond to the partial path template in the format of this BIP.
+
==Examples==
'''"m/{44,49,84}'/0'/0'/{0-1}/{0-50000}"''' specifies a full template that matches both external and internal chains of BIP44, BIP49 and BIP84 paths, with a constraint that the address index cannot be larger than 50000