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

Event Timeline

schancel requested changes to this revision.Nov 16 2017, 01:15
schancel added inline comments.
src/miner.h
220 ↗(On Diff #1756)

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

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.