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 Passed - Unit
No Test Coverage - Build Status
Buildable 29331 Build 58198: Build Diff build-without-wallet · build-debug · build-clang · build-diff · build-clang-tidy Build 58197: arc lint + arc unit
Event Timeline
test/functional/p2p_invalid_messages.py | ||
---|---|---|
315 | I still don't think you need blockmaxsize, which is only used for mining |
test/functional/p2p_invalid_messages.py | ||
---|---|---|
315 | The node won't start if excessiveblocksize < DEFAULT_MAX_BLOCK_SIZE. |
test/functional/p2p_invalid_messages.py | ||
---|---|---|
296 | 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. |