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
Branch
index2
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2794
Build 3698: Bitcoin ABC Buildbot (legacy)
Build 3697: arc lint + arc unit

Event Timeline

deadalnix requested changes to this revision.Jul 4 2018, 22:26
deadalnix added inline comments.
src/test/blockindex_tests.cpp
40

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.