Repository navigation
Conversation
Contributor
|
tACK c43b7f4b774fc414fbecdf5edf1f3d912ef0f0f1 |
Test the properties of transactions conflicted by a double spend as returned by RPC listtransactions in the "abandoned", "confirmations", "trusted" and "walletconflicts" fields. These fields are also returned by RPCs listsinceblock and gettransactions.
jonatack
force-pushed
the
test-txns-conflicted-by-double-spend-in-listtransactions
branch
from
October 2, 2021 13:28
c43b7f4 to
502f50d
Compare
Member
Author
|
Thanks @brunoerg! I pushed an improved version of the test per |
Contributor
|
tACK 502f50d |
Contributor
There was a problem hiding this comment.
Concept + tACK 502f50d
Will give another deeper pass to ponder over the behavior.
rajarshimaitra
left a comment
Contributor
There was a problem hiding this comment.
Code review ACK.
Verified that the intended categories are taking changing as expected.
There can be few more redundant checks added, like doing the same thing for other RPC calls that return category. But probably not that useful.
I do have some general comments around rest of the tests, but that's outside of the scope of this PR, and better done elsewhere.
Just one ignore-able nit
jonatack
deleted the
test-txns-conflicted-by-double-spend-in-listtransactions
branch
October 7, 2021 10:41
PastaPastaPasta
pushed a commit
to PastaPastaPasta/dash
that referenced
this pull request
Apr 3, 2022
…listtransactions 502f50d Test transactions conflicted by double spend in listtransactions (Jon Atack) Pull request description: Test the properties of transactions conflicted by a double spend as returned by RPC listtransactions in the abandoned, confirmations, trusted and walletconflicts fields. These fields are also returned by RPCs listsinceblock and gettransactions. ACKs for top commit: brunoerg: tACK 502f50d rajarshimaitra: Concept + tACK bitcoin@502f50d Tree-SHA512: 28968f4a5f1960ea45b2e6f5b20fe25c1b51f66944062dcddea52ea970ad21c74d583793d091b84e8a5e506d6aecc1f0435c5b918213975b22c38e02bba19aa1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test the properties of transactions conflicted by a double spend as returned by RPC listtransactions in the abandoned, confirmations, trusted and walletconflicts fields. These fields are also returned by RPCs listsinceblock and gettransactions.