MCPcopy Create free account
hub / github.com/ElementsProject/elements / DifficultyAdjustmentInterval

Method DifficultyAdjustmentInterval

src/consensus/params.h:119–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 int64_t nPowTargetSpacing;
118 int64_t nPowTargetTimespan;
119 int64_t DifficultyAdjustmentInterval() const { return nPowTargetTimespan / nPowTargetSpacing; }
120 /** The best chain should have at least this much work */
121 uint256 nMinimumChainWork;
122 /** By default assume that the signatures in ancestors of this block are valid */

Callers 3

GetNextWorkRequiredFunction · 0.80
FUZZ_TARGET_INITFunction · 0.80
GetNetworkHashPSFunction · 0.80

Calls

no outgoing calls

Tested by 1

FUZZ_TARGET_INITFunction · 0.64