MCPcopy Create free account
hub / github.com/LUX-Core/lux / Clear

Method Clear

src/stake.cpp:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void StakeStatus::Clear() {
113 nWeightSum = nWeightMin = nWeightMax = 0;
114 dValueSum = 0;
115 nCoinAgeSum = 0;
116 dKernelDiffSum = 0;
117 nLastCoinStakeSearchInterval = 0;
118}
119
120// Modifier interval: time to elapse before new modifier is computed
121// Set to 3-hour for production network and 20-minute for test network

Callers 4

ModifyCoinsMethod · 0.45
ModifyNewCoinsMethod · 0.45
ApplyTxInUndoFunction · 0.45
DisconnectBlockFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected