Skip to content
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

Refactor wallet creation to Wallet.create method #1242

Merged
merged 8 commits into from
Jun 20, 2021

Conversation

stepansnigirev
Copy link
Contributor

@stepansnigirev stepansnigirev commented Jun 20, 2021

Adds a new .create() method for Wallet and LWallet classes.
This simplifies logic in the wallet manager and allows separation of liquid-related blinding stuff to liquid wallet.

Introduces a few changes:

  • importdescriptors or importmulti are called directly from Wallet.create method so issues like Change descriptor sometimes(?) not imported #1214 should not happen any more.
  • keypoolrefill only calls importmulti
  • Drops support for Bitcoin Core v19 by removing a trick that was adding support for sortedmulti addresses in v19. I think it's time for everyone to upgrade, especially taking into account coming Taproot upgrade.

@stepansnigirev stepansnigirev merged commit 8d94425 into cryptoadvance:master Jun 20, 2021
@stepansnigirev stepansnigirev deleted the wallet-create branch June 20, 2021 15:42
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.

2 participants