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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #2968)

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 ↗(On Diff #2968)

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 ↗(On Diff #2968)

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.