Repository navigation
rpc: Return block hash & height in getbalances, gettransaction and getwalletinfo - #26094
Conversation
64fc793 to
7bf1c59
Compare
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. 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. |
|
As I said previously,
|
jarolrod
left a comment
There was a problem hiding this comment.
Concept ACK
This does what it says it does. I think it's fine to add these fields, I can imagine it would be useful. Tested and sanity checked the code, and ran tests locally.
b3752eb to
37a05b4
Compare
willcl-ark
left a comment
There was a problem hiding this comment.
ACK 37a05b4
Returns the blockheight and hash the aforementioned RPCs were run against. Feels like a win for users of the RPCs.
|
ACK 37a05b4f6bd768873cdfaaf0b417ef7d29c60f97
I don't really see how that would be possible to implement in a way that wouldn't be detrimental or fragile. It seems like it would have to be implemented with an explicit list of RPCs that must be done atomically in order to avoid any RPC just locking things up. Such a list could fall out of date as new RPCs are added and people forget, so it would be kind of fragile. |
|
There's a test failure in |
…alletinfo JSONs Co-authored-by: Aurèle Oulès <[email protected]>
37a05b4 to
710b839
Compare
|
ACK 710b839 |
…alletinfo JSONs Co-authored-by: Aurèle Oulès <[email protected]> Github-Pull: bitcoin#26094 Rebased-From: 710b839
Reopens #18570 and closes #18567.
I have rebased the original PR.
Not sure why the original got closed as it was about to get merged.