-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native descriptor wallets #21
Comments
Mmm, I just realized I didn't actually test the native descriptor wallet, because I didn't edit the script to use the new flag. |
Two changes are needed: Set the desciptor flag: Use I believe you can also swap If you launch QT with |
AWESOME! I've been trying to figure out how to do this for a whlie I will try your PR and Andrew's ASAP. |
I also tried native segwit ( I complained "No confirmed UTXOs to spend" even though
I hacked around that. Although the devices display weird stuff, they do produce a valid transaction! |
Re ^^, This line is the problem Previously, outputs would show up under the This is the description of the |
Native descriptor wallets redefine IsMine to completely different semantics. Basically, native descriptor wallets completely gets rid of the distinction between watchonly and mine within a single wallet. Instead, any scriptPubKey tracked by the wallet is considered mine, regardless of whether it can sign or not. There won't be any mixed watchonly and non-watchonly things. Either something is part of the wallet (IsMine is true) or it is not (IsMine is false). This greatly simplifies the behavior of the wallet and gets rid of having to say "IncludeWatching" everywhere. |
Thanks @achow101, that's extremely helpful. You PR seems like a gamechanger for projects like Junction. |
I just tried Junction with @achow101's native descriptor wallet (in testnet!) PR: bitcoin/bitcoin#16528
Works like a charm. In particular, try
getaddressinfo
on the multisig address and notice Bitcoin Core knows the full descriptor!If you like, you can also try my PR which adds better signer support to the RPC: bitcoin/bitcoin#16546
It involves launching bitcoind with
-signer
. You then create a wallet with theexternalsigner
flag true and it will Just Works(tm). Send also just works(tm). Except not with multisig... Suggestions are welcome, what should the RPC look like?The text was updated successfully, but these errors were encountered: