When importing descriptors with a variety lower than 1000, it appears to be ignored. Is that this deliberate? I may‘t discover something about this within the docs.
To breed, first, create an empty pockets:
bitcoin-cli -regtest -named createwallet wallet_name=take a look at disable_private_keys=true clean=true descriptors=true
Import a descriptor with vary 10:
bitcoin-cli -regtest -named importdescriptors requests="[{ "desc": """wpkh([9a6a2580/84'/1'/179']tpubDCMRAYcH71Gib1rASZpnMPpJbj7S1Nzmao1nPv5Jrb8pwSUimsH5TmK842UhnGPJbiNThzxhK4BpRUCsjSckpNYkH9kjKGWLd94yhZFN94J/0/*)#rljv8npg"'", "timestamp":"now", "lively": true, "vary":10}]'
Examine the vary with listdescriptors
:
{
"wallet_name": "take a look at",
"descriptors": [
{
"desc": "wpkh([9a6a2580/84'/1'/179']tpubDCMRAYcH71Gib1rASZpnMPpJbj7S1Nzmao1nPv5Jrb8pwSUimsH5TmK842UhnGPJbiNThzxhK4BpRUCsjSckpNYkH9kjKGWLd94yhZFN94J/0/*)#rljv8npg",
"timestamp": 1666876980,
"lively": true,
"inside": false,
"vary": [
0,
999
],
"subsequent": 0
}
]
}
In distinction, if I import a descriptor with a variety bigger than 1000, it appears to be revered:
bitcoin-cli -regtest -named importdescriptors requests="[{ "desc": """wpkh([9a6a2580/84'/1'/180']tpubDCMRAYcH71GibuLuWcDkwmmY1gXkXhf162QuEHxkMpZPSi7xck2eGQ6MRGKxNTeY8P1FiFTPCLA5x7qZpFx84fnnrNQFpSnUCwd1nPG8Mk9/0/*)#u49n3vuy"'", "timestamp":"now", "lively": true, "vary":2000}]'
Examine the vary once more with listdescriptors
:
(…)
{
"desc": "wpkh([9a6a2580/84'/1'/180']tpubDCMRAYcH71GibuLuWcDkwmmY1gXkXhf162QuEHxkMpZPSi7xck2eGQ6MRGKxNTeY8P1FiFTPCLA5x7qZpFx84fnnrNQFpSnUCwd1nPG8Mk9/0/*)#u49n3vuy",
"timestamp": 1666876980,
"lively": true,
"inside": false,
"vary": [
0,
2000
],
"subsequent": 0
}