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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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. |