Questions tagged [output-script-descriptors]

Filter by
Sorted by
Tagged with
3 votes
2 answers
207 views

How can a private key be imported to a descriptor wallet?

If the Bitcoin Core Wallet Migration Tool is supposed to be creating descriptors for sparse keys (as it's supposed to support pre deterministic wallets), then why doesn't Bitcoin Core allow using ...
user avatar
  • 396
1 vote
1 answer
141 views

mainnet wallet will refuse to dump privkeys

I created a new wallet in Bitcoin Core v23.x, as expected it created an empty wallet version 169900 descriptors true format sqlite. It seems it created 4 streams of 1000 keys each. Anyway I told it ...
user avatar
  • 396
4 votes
1 answer
42 views

Which wallets or libraries besides core support (or will support) P2TR descriptors?

I want to help test the WIP Bitcoin Dev Kit "Add support for Taproot and tr() descriptors", PR #593 against other implementations besides Bitcoin Core (already testing again Core 22.0). In ...
user avatar
3 votes
1 answer
59 views

Remove descriptor from a Bitcoin Core wallet

I had accidentally imported descriptors into a wallet that I didn't mean to import to in Bitcoin Core. From what I can tell, the only way I can remove this descriptor from that wallet is to delete the ...
user avatar
1 vote
1 answer
38 views

What does 'active' in importdescriptors do/mean?

this is what documentation says '(boolean, optional, default=false) Set this descriptor to be the active descriptor for the corresponding output type/externality' Should it be used with addr ...
user avatar
0 votes
1 answer
33 views

What is a descriptor in "generatetodescriptor"?

I thought it would be like a label as in: getnewaddress "myawesomelabel" > bcrt11qay7aqw7azkqhpda22vuzxphkccgmcvc9grz8z but then generatetodescriptor 10 "myawesomelabel" > ...
user avatar
  • 164
3 votes
1 answer
170 views

Support for taproot multisig descriptors

I’m trying to understand the current state of descriptor support for taproot, with a specific focus on multisig wallets (When I say “multisig” I mean k-of-n threshold signing, rather than a schnorr ...
user avatar
  • 143
4 votes
1 answer
142 views

Layout of new SQLite descriptor wallets in v0.21 and v22.0?

I'm trying to explore the database format of the new descriptor wallets in Bitcoin Core v0.21 and v22.0, but I can't quite figure it out. I've created a new descriptor wallet and dumped it's contents ...
user avatar
  • 411
4 votes
1 answer
312 views

XPRIV/XPUB type for P2TR

As far as I understand, there is a standard that describes what address types an extended private key or extended public key is intended to derive and it works as such: xpriv/xpub => Legacy ...
user avatar
6 votes
1 answer
914 views

How can I create P2TR addresses with Bitcoin Core 22.0?

I'm trying to test P2TR with Bitcoin Core, and I don't know how to get taproot addresses. How should I create them using 22.0?
user avatar
0 votes
0 answers
35 views

Can you explain how to set up a basic M-of-N multisig between multiple people using descriptor wallets and PSBTs, as well as a signing flow?

Can you explain how to set up a basic M-of-N multisig between multiple people using descriptor wallets and PSBTs, as well as a signing flow?
user avatar
5 votes
1 answer
863 views

How to make a taproot transaction with bitcoin-cli?

Can you give a simple step-by-step example for a taproot transaction with bitcoin-cli on Testnet?
user avatar
2 votes
1 answer
130 views

Can output descriptors be used to encode any Miniscript expression?

Output descriptors provide a standard to make address bodies more exchangeable between various wallet implementations. It seems that an output descriptor can be used to encode any Miniscript ...
user avatar
  • 63.6k
2 votes
1 answer
127 views

Would there ever be a reason to use a P2SH-P2WSH-P2PKH descriptor?

Bitcoin Core's descriptor documentation lists a P2SH-P2WSH-P2PKH descriptor as one of its examples: sh(wsh(pkh(02e493dbf1c10d80f3581e4904930b1404cc6c13900ee0758474fa94abe8c4cd13))) describes an (...
user avatar
  • 63.6k
1 vote
1 answer
111 views

`getdescriptorinfo` for private key

Public key: bitcoin-cli getdescriptorinfo "wpkh(027fda10f37e6c637a1cfeba2cbada86de36f28e63d4ded9e1314117739f6419a9)" { "descriptor": "wpkh(...
user avatar
3 votes
1 answer
611 views

How do I get the private key of an address in descriptor wallets? How to dumpprivkey?

When I run dumpprivkey from Bitcoin Core 0.21.1. I get the following error message: error code: -4 error message: This type of wallet does not support this command I came across achow's explanation ...
user avatar
7 votes
2 answers
658 views

Should the Bitcoin Core wallet (or any wallet) prevent users from sending funds to a Taproot address pre activation?

The Bitcoin Core wallet prevents mainnet Taproot descriptors from being imported pre activation (November 2021) as a safeguard. However, you can send mainnet Bitcoin to a Taproot (P2TR) address pre ...
user avatar
0 votes
1 answer
93 views

How do I obtain a checksum for a Taproot descriptor so that I can import it using importmulti?

I tried to import an example Taproot descriptor using bitcoin-cli importmulti tr(c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5,{pk(...
user avatar
1 vote
1 answer
355 views

What wallet support for Taproot will be included in Bitcoin Core v22.0?

What wallet support for Taproot will be included in Bitcoin Core v22.0? What will I be able to do and what won't I be able to do using the Core wallet?
user avatar
4 votes
1 answer
182 views

Output Descriptor for an Arbitrary Script

Can output descriptors be used to describe an arbitrary script? Say I had a script something like the following: OP_IF 1737417600 OP_CHECKLOCKTIMEVERIFY OP_DROP OP_DUP OP_HASH160 <pubKeyHashD> ...
user avatar
-1 votes
1 answer
124 views

Please help out I send 109k to my client he was able to receive $50,000 please help

I send a bitcoin transaction of all coin my wallet which is $109,180 to my client wallet address giving to me. But he received $50,000 in is wallet address. And I sent all the coin my of 109180. ...
user avatar
0 votes
1 answer
1k views

How to create descriptor watch-only wallet with bitcoin-cli in Bitcoin Core 0.21?

Using only command line (no GUI), how can I create watch only wallet based on descriptor and get first unused address? This is the descriptor: "wpkh([00000000/84h/0h/0h]xpub6DP....xyz/0/*)#...
user avatar
  • 175
1 vote
1 answer
234 views

getnewaddress with importmulti

I have a question about how the bitcoin core wallet works with descriptors. I am creating a wallet using the createwallet method and passing in a name (all other args are default). I then import ...
user avatar
2 votes
1 answer
2k views

How do I create a descriptor wallet?

Using Bitcoin Core from today (almost 0.21): I ran ./configure. It said with sqlite = yes. ldd $(which bitcoind) shows it is linked to libsqlite3.so. Now, I started a signet node using bitcoind -...
user avatar
2 votes
1 answer
254 views

How will the migration tool from a Bitcoin Core legacy wallet to a descriptor wallet work?

In this Andrew Chow blog post on what's coming to the Bitcoin Core wallet in 0.21 he states: It is, and will be, possible to take an existing Legacy Wallet, and make a Descriptor Wallet which exactly ...
user avatar
8 votes
2 answers
3k views

What are output descriptors?

I have heard about output descriptors or wallet descriptors. It is not clear to me what they are. What do they allow me to do? How does that improve my experience using Bitcoin?
user avatar
  • 63.6k
2 votes
1 answer
117 views

How to manually compute a descriptors checksum?

In the docs it says: The checksum for a descriptor without one can be computed using the getdescriptorinfo RPC. I would like to build a recovery tool where many descriptors are imported, calling ...
user avatar
  • 372
1 vote
1 answer
159 views

Missing Checksum error when importing multisig wallet via descriptor

I'm trying to import a multisig wallet on regtest, but getting a strange error. What am I doing wrong? I've tried it with xpubs, tpubs, and Vpubs (converted here) and get the same error for all. ...
user avatar
  • 13
2 votes
1 answer
109 views

What is the link between address and use of the UTXO?

I state that I'm still a beginner. I need some clarification. I am using the Testnet. This is the information regarding the address I used to receive funds from a Faucet bitcoin-cli validateaddress ...
user avatar
  • 127
1 vote
1 answer
148 views

How to interpret the Descriptor field?

These are my UTXO in Tesnet environment: { "txid": "93ae7787fe8203e9f13534205ca0310baf8bf5e2b55b2faa1f8b09134f475208", "vout": 1, "address": "2N4VywDy3DnkCmCM8yvfMSFHiEt2ePxzLXu", "...
user avatar
  • 127
0 votes
1 answer
100 views

Will bitcoind import private keys for multi-sig descriptor with watch-only flag set to true?

I am importing a "warm" multi-sig quorum into bitcoind using importmulti like so: {"jsonrpc":"1.0","id":"curltest","method":"importmulti","params":[[{ "desc": "sh(multi(2,[eb2d2f9e/44'/1'/0']...
user avatar
  • 372
0 votes
0 answers
51 views

why is getdescriptorinfo returning a "function needed" error with a sortedmulti descriptor?

When trying: bitcoin-cli getdescriptorinfo "wsh(sortedmulti(2,tpubDFck48zH8ZzteKKZCR9WMVBJwHZayhQmtCDyDRzHsU7VMTwEXohD23h1CBiizKtFtWck2fVegNDRM193nGx3VLs1RTSGNc1iePKpc1JvsS6/*,...
user avatar
  • 372
2 votes
1 answer
157 views

Why is getdescriptorinfo returning an error "Invalid descriptor (code -5)"

I am using Bitcoin Core bitcoin-cli with getdescriptorinfo like so: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdescriptorinfo", "params":["sh(multi(2,[3c60330a/1]...
user avatar
  • 372
1 vote
1 answer
305 views

bitcoin-cli deriveaddresses always returns an error

I am copying and pasting the example from the bitcoin-cli help: deriveaddresses "wpkh([d34db33f/84h/0h/0h] ...
user avatar
  • 372
1 vote
1 answer
813 views

Create multisignature wallet from xpub keys in bitcoin core

I can create Multisignature wallet electrum with 2 xpub keys. How can I create bitcoin core to do that? Standart use; Add a multisig address from 2 addresses bitcoin-cli addmultisigaddress 2 "[\"...
user avatar