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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I don't think the title of this diff reflects what is going is being actually improved.
src/validation.cpp | ||
---|---|---|
1824 ↗ | (On Diff #4175) | I don't understand this TXUndo stuff. Isn't it implied by the transaction itself? Why not generate this from CTransaction when needed? |
1842 ↗ | (On Diff #4175) | Why does changing the order allow this function to undo blocks out of order? |
test/functional/abc-transaction-ordering.py | ||
247 ↗ | (On Diff #4175) | 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 ↗ | (On Diff #4175) | Because it creates a block out of order and then invalidate it ? |
test/functional/abc-transaction-ordering.py | ||
---|---|---|
247 ↗ | (On Diff #4175) | What is an "out of order block" You mean the transactions are out of order, or? |