Modifier interval: time to elapse before new modifier is computed Set to 3-hour for production network and 20-minute for test network
| 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 |
| 122 | static inline unsigned int GetInterval() { |
| 123 | return IsTestNet() ? MODIFIER_INTERVAL_TESTNET : MODIFIER_INTERVAL; |
| 124 | } |
| 125 | |
| 126 | // Get time |
| 127 | int64_t GetWeight(int64_t nIntervalBeginning, int64_t nIntervalEnd) { |
no test coverage detected