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

‘Lidar is lame’: why Elon Musk’s imaginative and prescient for a self-driving Tesla taxi faltered | Tesla

After years of promising traders that thousands and thousands of Tesla robotaxis would quickly fill the streets, Elon Musk debuted his driverless automobile...

Common Motors names new CEO of troubled self-driving subsidiary Cruise | GM

Common Motors on Tuesday named a veteran know-how government with roots within the online game business to steer its troubled robotaxi service Cruise...

Meet Mercy and Anita – the African employees driving the AI revolution, for simply over a greenback an hour | Synthetic intelligence (AI)

Mercy craned ahead, took a deep breath and loaded one other process on her pc. One after one other, disturbing photographs and movies...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here