As per title.
Details
- Reviewers
schancel jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGINGa0abcf8e3972: Update ApplyBlockUndo to be able to undo out of order blocks.
rABCa0abcf8e3972: Update ApplyBlockUndo to be able to undo out of order blocks.
Updated integration test to check invalidation of blocks with out of orders transactions.
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- undooutoforder
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 2781 Build 3672: Bitcoin ABC Buildbot (legacy) Build 3671: arc lint + arc unit
Event Timeline
I don't think the title of this diff reflects what is going is being actually improved.
src/validation.cpp | ||
---|---|---|
1824 | I don't understand this TXUndo stuff. Isn't it implied by the transaction itself? Why not generate this from CTransaction when needed? | |
1842 | Why does changing the order allow this function to undo blocks out of order? | |
test/functional/abc-transaction-ordering.py | ||
247 | How does this test undoing blocks which are not in order? |
I think you should dig in and understand these things. If I tell you "it does X" and then you accept the diff based on this, then the whole review process has no value.
test/functional/abc-transaction-ordering.py | ||
---|---|---|
247 | Because it creates a block out of order and then invalidate it ? |
test/functional/abc-transaction-ordering.py | ||
---|---|---|
247 | What is an "out of order block" You mean the transactions are out of order, or? |