Oversized blocks are treated differently from bitcoin core, so extra test coverage near boundaries is warranted.
Details
Details
- Reviewers
Fabien PiRK - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project - Commits
- rABCf6dc88d5a2f5: Add test coverage for oversized block messages
./test/functional/test_runner.py p2p_invalid_messages
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- oversized-block-tests
- Lint
Lint Errors Severity Location Code Message Error test/functional/p2p_invalid_messages.py:296 E306 flake8 E306 - Unit
No Test Coverage - Build Status
Buildable 29335 Build 58206: Build Diff build-without-wallet · build-diff · build-debug · build-clang · build-clang-tidy Build 58205: arc lint + arc unit
Event Timeline
test/functional/p2p_invalid_messages.py | ||
---|---|---|
315 ↗ | (On Diff #48286) | I still don't think you need blockmaxsize, which is only used for mining |
test/functional/p2p_invalid_messages.py | ||
---|---|---|
315 ↗ | (On Diff #48286) | The node won't start if excessiveblocksize < DEFAULT_MAX_BLOCK_SIZE. |
test/functional/p2p_invalid_messages.py | ||
---|---|---|
296 ↗ | (On Diff #48286) | I am considering a patch that bumps this arbitrary value to str_data=b'\xff' everywhere because I ran into the limit when writing the new tests. I can include the comment in that patch. |