Page MenuHomePhabricator

Added block index test for isValid
ClosedPublic

Authored by jasonbcox on Jul 11 2018, 23:30.

Details

Summary

Continues work on T355.

Depends on D1559.

Test Plan

make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Switched to explicit list of BlockStatus instead of casting from ints due to feedback from a previous diff

Test failure looks unrelated to this diff.

This revision is now accepted and ready to land.Jul 12 2018, 11:55
deadalnix requested changes to this revision.Jul 12 2018, 11:57
deadalnix added inline comments.
src/test/blockindex_tests.cpp
164 ↗(On Diff #4281)

Wait, this isn't testing when the block is marked invalid, just the validity level.

This revision now requires changes to proceed.Jul 12 2018, 11:57

Added missing invalid cases

This revision is now accepted and ready to land.Jul 14 2018, 12:30
This revision was automatically updated to reflect the committed changes.