Page MenuHomePhabricator

Allow setting nMinimumChainWork on command line
ClosedPublic

Authored by deadalnix on Feb 24 2018, 10:36.

Details

Summary

Backport core's PR10357

Depends on D1129

Test Plan
make check
./test/functional/test_runner.py minchainwork

Diff Detail

Repository
rABC Bitcoin ABC
Branch
minchainwork
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1922
Build 2002: Bitcoin ABC Buildbot (legacy)
Build 2001: arc lint + arc unit

Event Timeline

Herald added a reviewer: Restricted Project. · View Herald Transcript
jasonbcox requested changes to this revision.Feb 24 2018, 15:14
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/validation.cpp
1230

Add curly braces to here and all if statements in this function.

This revision now requires changes to proceed.Feb 24 2018, 15:14
deadalnix added inline comments.
src/validation.cpp
1230

I'd be happy to do it, but that's kind of out of the bounds of this diff, and would obfuscate the change actually made.

jasonbcox added inline comments.
src/validation.cpp
1230

Fair enough.

This revision is now accepted and ready to land.Feb 25 2018, 09:25
This revision was automatically updated to reflect the committed changes.