-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Split up rpcwallet #23667
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
Split up rpcwallet #23667
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crACK 889d32f
I have reviewed each commit on this PR, and I agree with the changes.
Though I have not thoroughly tested, I was able to run bitcoind and bitcoin-cli on this PR successfully.
However, merging this PR now would not be effective as there are still too many conflicts with this PR. Though I understand that this would be an ineffective way, I would suggest you further split this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK 889d32f. Easy review. Just function moves then file move.
This will have a lot of conflicts but let's just get it over and done with.
Thank you! It's less annoying to deal with conflicts in one PR than multiple PRs, IMO.
However, merging this PR now would not be effective as there are still too many conflicts with this PR. Though I understand that this would be an ineffective way, I would suggest you further split this PR.
I do think fact that these are clean moves with no changes should makes conflicts easier to resolve. And overall conflicts should be less of a burden if they only have to resolved once, instead of multiple times after different PRs.
ACK 889d32f Nice straightforward moveonly commits. Although this has a lot of conflicts, rebasing shouldn't be that difficult. Git should be able to identify the moves and apply the changes accordingly, so it won't be that bad. One thought on the RPC grouping: |
Thanks for the review! Rebased and moved |
ACK b36e738 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK b36e738, verified move-only again
I agree with the other comments in regards to just "doing this now". A PR like this is always going to have a large number of conflicts, and splitting it up into many more PRs is just going draw out the rebasing, and create a lot more (repo) noise. Note that nearly half of the conflicting PRs actually belong to the PR author and the two reviewers who have already ACK'd this change. If you include Marco (who was also planning on making these changes) then it's more than half, so the "rebasing burden" isn't actually as bad as it may look. I'm going to merge this now. |
Oh hi... (but yeah, it's worth it) utACK b36e738 |
also deal with deprecated "addresses" field from upstream
also deal with deprecated "addresses" field from upstream
288f99a MOVEONLY: Move abortrescan from backup.cpp to transactions.cpp (Samuel Dobson) 7a47e08 Remove unused imports from rpc/wallet and reorder RPCs (Samuel Dobson) 4fceeb3 MOVEONLY: Move rpcwallet to rpc/wallet (Samuel Dobson) de401aa MOVEONLY: Move spending RPCs to spend.cpp (Samuel Dobson) 5dbd8fe MOVEONLY: Move balance and utxo RPCs to coins.cpp (Samuel Dobson) c0f59cc MOVEONLY: Move address related functions from rpcwallet to addresses.cpp (Samuel Dobson) 5c38fef MOVEONLY: Move transaction related wallet RPCs to transactions.cpp (Samuel Dobson) Pull request description: This is the rest of #23622, to split up rpcwallet into smaller, more logical parts. This will have a lot of conflicts but let's just get it over and done with. ACKs for top commit: achow101: ACK 288f99a ryanofsky: Code review ACK 288f99a, verified move-only again Tree-SHA512: 6695fa23bbe9822c7497db7660f44c3dcb01dfa7276f5830a6b7c73c6b5fa04e04fcd4821bf0e6392e7659ed91a277ced85bd8f77477d785bca4e84a93fe791e
This is the rest of #23622, to split up rpcwallet into smaller, more logical parts.
This will have a lot of conflicts but let's just get it over and done with.