Author

Topic: "iswatchonly": false, misleading? (Read 114 times)

newbie
Activity: 2
Merit: 1
December 02, 2022, 09:40:11 AM
#3
Is this a bug, or is this intended? Or is there something i don't understand here?
I had a similar (answered) question in this thread where we discussed a similar setup: https://bitcointalksearch.org/topic/m.61052365
You can also read my reply next to it for additional info.

Ok. So it is intended to be this way then I guess. Nevertheless, quite confusing.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
December 02, 2022, 08:28:21 AM
#2
Is this a bug, or is this intended? Or is there something i don't understand here?
I had a similar (answered) question in this thread where we discussed a similar setup: https://bitcointalksearch.org/topic/m.61052365
You can also read my reply next to it for additional info.
newbie
Activity: 2
Merit: 1
December 02, 2022, 07:30:29 AM
#1
Hi.

On my journey down the bitcoin rabbit hole i stumbled across something i consider confusing, or misleading.

Some info:
Bitcoin Core 22.0 linux ARM version running on a raspberry pi with debian.

I bought a coldcard wallet, created a descriptor wallet in bitcoin core with the arguments disable_private_keys=true descriptors=true, and imported the descriptor key's into the wallet with the argument "watchonly": true.

When i do a getadressinfo query for the addresses, it shows as ""iswatchonly": false,".

From bitcoininformation.org on watchonly:
"Definition
An address or pubkey script stored in the wallet without the corresponding private key, allowing the wallet to watch for outputs but not spend them."

Isn't that a little bit misleading or confusing? It sure confused me. Per definition, as far as i can figure out at least, "iswatchonly: false" means that bitcoin core has the corresponding private key. Which it does not. I did a getdescriptorinfo to double check that the descriptors i imported does not contain the private key, and the output clearly shows "hasprivatekeys: false".

Is this a bug, or is this intended? Or is there something i don't understand here?
Jump to: