Drop JSONRPCRequest constructors after #21366 #21574
pull ryanofsky wants to merge 1 commits into bitcoin:master from ryanofsky:pr/simpreq changing 10 files +28 −41-
ryanofsky commented at 5:42 pm on April 2, 2021: memberThis just makes an additional simplification after #21366 replaced util::Ref with std::any. It was originally suggested #21366 (comment) but delayed for a followup. It would have prevented usage bug #21572.
-
DrahtBot added the label RPC/REST/ZMQ on Apr 2, 2021
-
DrahtBot added the label Wallet on Apr 2, 2021
-
theStack commented at 7:42 pm on April 2, 2021: member
Concept ACK
Considering the bug fixed in #21572, I think it would also make sense to deduplicate the two loops in
WalletClientImpl::registerRpcs()
, as their bodies contain exactly the same code. (Doesn’t necessarily have to be in this PR though; if not, I’m happy to do a follow-up). -
ryanofsky commented at 8:25 pm on April 2, 2021: member
I think it would also make sense to deduplicate the two loops in
WalletClientImpl::registerRpcs()
, as their bodies contain exactly the same code. (Doesn’t necessarily have to be in this PR though; if not, I’m happy to do a follow-up).Thanks for reviewing and suggesting the improvement. #21467 is removing the second loop though, so best not to consolidate these.
-
DrahtBot commented at 1:26 am on April 3, 2021: member
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #21467 (Move external signer out of wallet module by Sjors)
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.
-
meshcollider commented at 5:04 am on April 6, 2021: contributorCode review ACK 2b9871142607159bb102ac58edd51d62b413a050
-
theStack approved
-
theStack commented at 10:39 pm on April 6, 2021: memberCode-review ACK 2b9871142607159bb102ac58edd51d62b413a050 Nice simplification!
-
promag commented at 7:43 am on April 7, 2021: memberCode review ACK 2b9871142607159bb102ac58edd51d62b413a050
-
Drop JSONRPCRequest constructors after #21366
This just makes an additional simplification after #21366 replaced util::Ref with std::any. It was originally suggested https://github.com/bitcoin/bitcoin/pull/21366#issuecomment-792044351 but delayed for a followup. It would have prevented usage bug https://github.com/bitcoin/bitcoin/pull/21572.
-
DrahtBot added the label Needs rebase on Apr 7, 2021
-
MarcoFalke commented at 9:07 am on April 7, 2021: memberI think you forgot to rebase this on 937fd4a66f048780bffc5e714d0c800de987ce93 when opening the pr. Git can’t figure out that this doesn’t conflict, otherwise.
-
ryanofsky force-pushed on Apr 7, 2021
-
ryanofsky commented at 12:58 pm on April 7, 2021: member
I think you forgot to rebase this on 937fd4a when opening the pr. Git can’t figure out that this doesn’t conflict, otherwise.
Thanks! Rebased now.
Rebased 2b9871142607159bb102ac58edd51d62b413a050 -> 9044522ef76f880760165d98fab024802ccfc062 (
pr/simpreq.1
->pr/simpreq.2
, compare) due to conflict with #21572 -
promag commented at 1:35 pm on April 7, 2021: memberACK 9044522ef76f880760165d98fab024802ccfc062, fixed conflict in src/wallet/interfaces.cpp.
-
DrahtBot removed the label Needs rebase on Apr 7, 2021
-
MarcoFalke merged this on Apr 8, 2021
-
MarcoFalke closed this on Apr 8, 2021
-
sidhujag referenced this in commit 3d28753d27 on Apr 8, 2021
-
Fabcien referenced this in commit 5ae548070b on Jun 7, 2022
-
DrahtBot locked this on Aug 18, 2022
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 09:12 UTC
More mirrored repositories can be found on mirror.b10c.me