Page MenuHomePhabricator

Added block index test for disk positions
ClosedPublic

Authored by jasonbcox on Jul 3 2018, 17:02.

Details

Summary

Continues work on T355. Depends on D1533.

Test Plan

make check

Diff Detail

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

Event Timeline

deadalnix requested changes to this revision.Jul 4 2018, 22:26
deadalnix added inline comments.
src/test/blockindex_tests.cpp
40 ↗(On Diff #4195)

Creating a std::set or std::array or all the validities possible and loop over it C++11 style would be better IMO.

See blockstatus_tests.cpp for reference.

This revision now requires changes to proceed.Jul 4 2018, 22:26

Use set of validity values instead of casting ints

This revision is now accepted and ready to land.Jul 6 2018, 11:49
This revision was automatically updated to reflect the committed changes.