mirror of
https://github.com/bitcoin/bips.git
synced 2026-10-19 19:29:18 +00:00
bip-138: specify BIP380 descriptor backup content
This commit is contained in:
33
bip-0138/test_vectors/bip380_descriptor_backup.json
Normal file
33
bip-0138/test_vectors/bip380_descriptor_backup.json
Normal file
@@ -0,0 +1,33 @@
|
||||
[
|
||||
{
|
||||
"description": "Descriptor with change descriptor",
|
||||
"valid": true,
|
||||
"document": {
|
||||
"version": 1,
|
||||
"descriptor_sets": [
|
||||
{
|
||||
"archived": false,
|
||||
"birth_time": 1710000000,
|
||||
"range": [0, 999],
|
||||
"descriptor": "wpkh([d34db33f/84h/1h/0h]tpubDC5FSnBiZDMmhiuCmWAYsLwgLYrrT9rAqvTySfuCCrgsWz8wxMXUS9Tb9iVMvcRbvFcAHGkMD5Kx8koh4GquNGNTfohfk7pgjhaPCdXpoba/0/*)",
|
||||
"change_descriptor": "wpkh([d34db33f/84h/1h/0h]tpubDC5FSnBiZDMmhiuCmWAYsLwgLYrrT9rAqvTySfuCCrgsWz8wxMXUS9Tb9iVMvcRbvFcAHGkMD5Kx8koh4GquNGNTfohfk7pgjhaPCdXpoba/1/*)"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "BIP389 multipath descriptor",
|
||||
"valid": true,
|
||||
"document": {
|
||||
"version": 1,
|
||||
"descriptor_sets": [
|
||||
{
|
||||
"archived": false,
|
||||
"birth_time": 1710000000,
|
||||
"range": [0, 999],
|
||||
"descriptor": "wpkh([d34db33f/84h/1h/0h]tpubDC5FSnBiZDMmhiuCmWAYsLwgLYrrT9rAqvTySfuCCrgsWz8wxMXUS9Tb9iVMvcRbvFcAHGkMD5Kx8koh4GquNGNTfohfk7pgjhaPCdXpoba/<0;1>/*)"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
2
bip-0138/test_vectors/bip380_descriptor_backup.txt
Normal file
2
bip-0138/test_vectors/bip380_descriptor_backup.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
# BIP380 descriptor backup text vector
|
||||
wpkh([d34db33f/84h/1h/0h]tpubDC5FSnBiZDMmhiuCmWAYsLwgLYrrT9rAqvTySfuCCrgsWz8wxMXUS9Tb9iVMvcRbvFcAHGkMD5Kx8koh4GquNGNTfohfk7pgjhaPCdXpoba/<0;1>/*)
|
||||
Reference in New Issue
Block a user