Page MenuHomePhabricator

Get rid of BlockStatusEnum
ClosedPublic

Authored by deadalnix on May 27 2018, 22:19.

Details

Summary

It publicly expose machinery internal to BlockStatus.

Depends on D1462

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
killBlockStatusEnum
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2662
Build 3437: Bitcoin ABC Buildbot (legacy)
Build 3436: arc lint + arc unit

Event Timeline

jasonbcox requested changes to this revision.May 28 2018, 18:21
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/chain.h
182

Is there a more descriptive name we can give this? DATA_ON_DISK_FLAG perhaps?

184

This sounds like it's undoing some flag(s). Call it something like UNDO_DATA_FLAG instead. Depending on the above comment, UNDO_DATA_ON_DISK_FLAG might work as well.

This revision now requires changes to proceed.May 28 2018, 18:21
src/chain.h
182

We don't really care where the data are.

jasonbcox added inline comments.
src/chain.h
182

Fair enough.

This revision is now accepted and ready to land.May 29 2018, 00:11

Update DATA_FLAG and UNDO_FLAG to HAS_DATA_FLAG and HAS_UNDO_FLAG.

This revision was automatically updated to reflect the committed changes.