This checks that the buffering logic in CBufferedFile/LoadExternalBlockFile
works as intended and doesn't fail for blacks larger than the buffer size.
Details
Details
make check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- test-load-external-block-file
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 256 Build 256: arc lint + arc unit
Event Timeline
src/test/validation_tests.cpp | ||
---|---|---|
39 | Remove. | |
47 | size_t written = fwrite(chainparams.MessageStart(), CMessageHeader::MESSAGE_START_SIZE, 1, fp) BOOST_CHECK_EQUAL(written, 1); | |
55 | Please BOOST_CHECK the size of the block is larger than what you expect to test. | |
67 | I'm not sure what this is testing. You need to be asserting something at the end. |