Minimal vary when importing descriptors?

on

|

views

and

comments


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
    }

Share this
Tags

Must-read

Constructing the Torc Driverless Security Case

At Torc, we’ve structured our security case on three foundational pillars: Engineer It to Be Secure, Function It to Be Secure, and the...

What’s DL+S? Unlocking the Huge Information Required to Develop Autonomous Vans

Breakthroughs in AI for autonomous driving don't occur in isolation. They occur when information, simulation, machine studying, infrastructure, and car testing work as...

Why I can’t wait to get right into a driverless automotive | Self-driving automobiles

Adrian Chiles (Driverless automobiles are taking us on a street to nowhere, 10 September) needs to know who requested for driverless automobiles. I...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here