From d1151e45f35bba33646f197038c1d5785ebeadd4 Mon Sep 17 00:00:00 2001 From: Michael Dietz Date: Wed, 13 Apr 2022 11:47:32 -0500 Subject: [PATCH] doc: bitcoin core usage improvement If the Disable Private Keys option is not checked when creating the watch-only wallet for the Coldcard, the `importdescriptor` command that the user copy-pastes in Step 2 will fail with an error "Cannot import descriptor without private keys to a wallet with private keys enabled" This commit instructs the user to check that option so everything in this doc works as expected, and adds some explanation in a note. --- docs/bitcoin-core-usage.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/bitcoin-core-usage.md b/docs/bitcoin-core-usage.md index ec3a37f9..5d69ecd6 100644 --- a/docs/bitcoin-core-usage.md +++ b/docs/bitcoin-core-usage.md @@ -15,9 +15,14 @@ PSBT files for signing offline at the Coldcard. Step 1: Create a new descriptor-based wallet in Bitcoin Core -- File -> Create Wallet ... +- File -> Create Wallet ... - give it a unique name -- check "Descriptor Wallet" +- check "Disable Private Keys" (this will auto-check "Make Blank Wallet") and "Descriptor Wallet" + +NOTE: Disable Private Keys sets the wallet in watch-only mode, only public keys can be imported into wallet. +Therefore, this wallet is used to track transactions and generate PSBT transactions to be signed on the Coldcard. +Make Blank Wallet means the wallet starts out with nothing in it. In Step 2 we will initialize the wallet with +the `importdescriptor` command. Step 2: Export descriptor from Coldcard to Core