Page MenuHomePhabricator

Fixed p2p-compactblocks failures
ClosedPublic

Authored by jasonbcox on Nov 17 2018, 18:18.

Details

Summary

CTOR changes tx ordering, so selecting hand-picked tx indices in a block is no longer possible. Fixes this + tx padding

Test Plan

test_runner.py p2p-compactblocks

Diff Detail

Repository
rABC Bitcoin ABC
Branch
compactblocks
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3928
Build 5928: Bitcoin ABC Buildbot (legacy)
Build 5927: arc lint + arc unit

Event Timeline

Removed debug print statement

test/functional/p2p-compactblocks.py
502 ↗(On Diff #5855)

Why do something so complex ? It only matter that you you prefix 4 out of 6.

deadalnix requested changes to this revision.Nov 17 2018, 18:57
This revision now requires changes to proceed.Nov 17 2018, 18:57
jasonbcox added inline comments.
test/functional/p2p-compactblocks.py
502 ↗(On Diff #5855)

The indices need to be determined to verify that the tx other than the one put in the mempool (see code block above) is the only remaining tx.

This revision is now accepted and ready to land.Nov 18 2018, 01:04
This revision was automatically updated to reflect the committed changes.