Page MenuHomePhabricator

Change UpdateTime so it takes a Config paramater instead of the Consensus::Params it used to.
ClosedPublic

Authored by deadalnix on Nov 15 2017, 17:30.

Details

Summary

This will allow to pass the config down to the stack that conmpute difficulty.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
minerupdatetime
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1131
Build 1131: arc lint + arc unit

Event Timeline

schancel requested changes to this revision.Nov 16 2017, 01:15
schancel added inline comments.
src/miner.h
220

Again, not understanding what should be configurable in here.

This revision now requires changes to proceed.Nov 16 2017, 01:15
src/miner.h
220

The PoW requirement so we can test PoW changes. Last time there was some global parameter flag read in there, this is bad.

This revision is now accepted and ready to land.Nov 16 2017, 16:25
This revision was automatically updated to reflect the committed changes.