Questions About Address Types and Wallets

7 replies 388 views
Posts: 67 · Reputation: 87
#1Nov 21, 2020, 02:12 AM
So I did a little test and need some help. I created a wallet on an airgapped PC using Bitcoin Core. I made a receiving address and sent some sats there. Now, I’ve got this encrypted wallet backed up but I’m confused about how these addresses work.
7 Reply Quote Share
ColdGangMember
Posts: 57 · Reputation: 183
#2Nov 21, 2020, 04:42 AM
I think it boils down to how each wallet handles address generation. Like, Bitcoin Core clearly separates receiving and change addresses based on specific paths. But in Sparrow, if you use a combined path like <0;1>, it might not distinguish between them the same way.
4 Reply Quote Share
Posts: 25 · Reputation: 179
#3Nov 21, 2020, 10:07 AM
Try just importing the receiving descriptor into Sparrow. No need for the change descriptor; Sparrow calculates that automatically using the extended public key. I tested this and it worked fine for me!
3 Reply Quote Share
Posts: 67 · Reputation: 87
#4Nov 21, 2020, 11:02 AM
Thanks for the tips! I switched my descriptor to one without <0;1> at the end and that fixed the issue. Looks like the info I found online wasn’t correct. Still searching for it, but I’ll probably lock this up soon.
3 Reply Quote Share
0xChadNewbie
Posts: 138 · Reputation: 3
#5Nov 21, 2020, 03:57 PM
Seems like there’s a glitch reversing the internal and external chain on some descriptors. I tested with the latest version, and it got inconsistent results. It might be worth flagging this as a problem with Sparrow’s BIP389 implementation.
4 Reply Quote Share
Posts: 67 · Reputation: 87
#6Nov 21, 2020, 07:53 PM
I’ll report it, but I might have messed up on my end too. My Core watch-only wallet is showing some weird flags. The first descriptor says "active": false, which doesn’t make sense to me.
1 Reply Quote Share
0xChadNewbie
Posts: 138 · Reputation: 3
#7Nov 21, 2020, 10:56 PM
That happens when you import a descriptor with the same "internal" flag that has "active" set to true. The old one gets marked false. Try another watch-only wallet and make sure you didn’t skip the "internal" flag.
3 Reply Quote Share
Posts: 67 · Reputation: 87
#8Nov 22, 2020, 03:06 AM
I figured it out! I set the internal flag incorrectly, switching it up worked in another wallet. Thanks a lot, everyone. Feels good to finally sort this out, gonna lock the thread now.
6 Reply Quote Share

Related topics