Page MenuHomePhabricator

Fix block construction in abc-p2p-compactblocks.py
ClosedPublic

Authored by deadalnix on Nov 19 2018, 16:20.

Details

Summary

Because of padding, the code generation a block may have trouble ensuring the block size is the right one. Update such code to take advantage of functionallities added in pad_tx in D2098 to ensure the size is correct.

Depends on D2098, D2103

Test Plan
./test/functional/test_runner.py abc-p2p-compactblock.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
redoabccompactblocks
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4000
Build 6072: Bitcoin ABC Buildbot (legacy)
Build 6071: arc lint + arc unit

Event Timeline

Revert inadvertant change

This revision is now accepted and ready to land.Nov 19 2018, 16:23
This revision was automatically updated to reflect the committed changes.