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

Function GetInterval

src/stake.cpp:122–124  ·  view source on GitHub ↗

Modifier interval: time to elapse before new modifier is computed Set to 3-hour for production network and 20-minute for test network

Source from the content-addressed store, hash-verified

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
122static inline unsigned int GetInterval() {
123 return IsTestNet() ? MODIFIER_INTERVAL_TESTNET : MODIFIER_INTERVAL;
124}
125
126// Get time
127int64_t GetWeight(int64_t nIntervalBeginning, int64_t nIntervalEnd) {

Callers 3

GetSelectionIntervalFunction · 0.85
GetSelectionTimeFunction · 0.85
ComputeNextModifierMethod · 0.85

Calls 1

IsTestNetFunction · 0.85

Tested by

no test coverage detected