Skip to content

Conversation

@rage-proof
Copy link
Contributor

Hi,

I just wanted to add add the descriptor and taproot support for eps.
But then it let to more changes as intended that were needed. So I let this PR here and you can use it for later, because it works.

The problem is the legacy wallet is not able to handle taproot addresses.
wallet options:
legacy(berkley) - no importdescriptors, no taproot-addresses in general
new(sqlite) - no importmulti, no importaddresses

This leads to the conclusion that the use of the new-descriptor wallet is mandatory and comes with some obstacles:

  • a new wallet needs to be created explicitly with descriptor = true (from v23.0 it is standard)
  • the whole wallet needs to be rescanned
  • the Bitcoin Core version must be >= v22.0 (I guess)
  • labels dont work anymore in ranged descriptors, therefore I removed it

Because of having a current version of Core + creating a new wallet it's a bit much effort for an update.
Maybe the rpc upgradewallet is an option to keep the effort low.

rage-proof added 8 commits May 23, 2022 12:17
This make it possible to import descriptors including taproot(tr). Some other functions don't work anymore with the new wallet, e.g. import addresses, is_wachonly. Hence use replacement functions in those cases.
…y are used for xpubs. Therefore remove the label also form the imported single addresses.
@chris-belcher chris-belcher force-pushed the master branch 4 times, most recently from 0633d2c to c28a90f Compare June 16, 2022 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant