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: move HD code from CWallet to LegacyScriptPubKeyMan #5854

Merged
merged 15 commits into from
Mar 5, 2024

Conversation

knst
Copy link
Collaborator

@knst knst commented Jan 31, 2024

Issue being fixed or feature implemented

During backport bitcoin#17261 significant part of HD chain has been forgotten in CWallet due to our own implementation.

This PR do not change behaviour of HD wallets, it's just refactoring.

What was done?

This PR refactor HD wallets implementation:

How Has This Been Tested?

Run unit/functional tests

Breaking Changes

N/A

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone

@knst knst added this to the 20.1 milestone Jan 31, 2024
@knst knst mentioned this pull request Jan 31, 2024
5 tasks
@PastaPastaPasta PastaPastaPasta marked this pull request as draft February 5, 2024 16:12
Copy link

github-actions bot commented Feb 9, 2024

This pull request has conflicts, please rebase.

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 👍 Will test it a bit

src/wallet/scriptpubkeyman.cpp Outdated Show resolved Hide resolved
UdjinM6
UdjinM6 previously approved these changes Feb 13, 2024
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

light ACK

UdjinM6
UdjinM6 previously approved these changes Feb 14, 2024
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Copy link

This pull request has conflicts, please rebase.

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-utACK

@UdjinM6 UdjinM6 modified the milestones: 20.1, 21 Mar 5, 2024
@knst
Copy link
Collaborator Author

knst commented Mar 5, 2024

@knst knst force-pushed the hd-1 branch from d0f309f to b5f4411

rebased to be on top of post-merged master to develop

Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

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.

3 participants