Sunday, December 22, 2024

bitcoin core – Correctly Import P2WSH Descriptors right into a Watch-Solely Pockets to Replicate All Balances and Transactions

I am attempting to import a Pay-to-Witness-Script-Hash (P2WSH) descriptor into my Bitcoin Core watch-only pockets utilizing the importdescriptors command. My aim is to make sure that the pockets displays all balances and transactions ever created with that particular locking script. Nonetheless, I am operating into a number of points:

  1. Checksum Errors:

  2. Energetic Descriptor Should Be Ranged:

  3. Success With out Energetic Flag:

    • The descriptor is imported efficiently solely when lively is about to false, however this does not fulfill my requirement of monitoring all balances and transactions associated to the descriptor.

Right here’s an instance of one in every of my import makes an attempt:

importdescriptors '[{
    "desc": "wsh(raw(630320830cb17521024e24d2aff4e1c51eaf122e0e5a6dfe218f7b3b883d1eb537ce9a7e040b329ca5ac6703b0830cb17521030618b7d1a6747cb13bba78611646a8d08c3683e14a0d2a4483c877561e1416efac68)#v6fytvxx)",
    "timestamp": "now",
    "active": true,
    "internal": false,
    "label": "My WSH Descriptor"
}]'

I need to perceive:

  1. Learn how to appropriately format and embrace the checksum for the descriptor.
  2. Learn how to correctly set the descriptor as lively whereas guaranteeing it displays all related balances and transactions.
  3. What modifications are wanted to appropriately import the descriptor with all mandatory flags?

Any steering or examples could be tremendously appreciated!

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles