This adds coverage on three test cases, where blocks are rejected and do not leak memory in the block index for all cases:
- Forks from a new genesis block.
- Forks from before a checkpoint that has been reached.
- Forks at a checkpoint.
Differential D2729
Add a test to ensure memory isn't consumed for blocks pre-checkpoint jasonbcox on Mar 22 2019, 19:49. Authored by Tags None Subscribers None
Details
This adds coverage on three test cases, where blocks are rejected and do not leak memory in the block index for all cases:
make check ninja check
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes
Comment Actions Massively improved test coverage (see updated summary)
Comment Actions Remove unnecessary setting of blocksize
Comment Actions For posterity: Harbormaster seems to be missing something and not detecting the tests being run, despite them passing. I'm going to land this and keep an eye on master just to be sure. |