Get selection interval (nSection in seconds)
| 149 | |
| 150 | // Get selection interval (nSection in seconds) |
| 151 | static int64_t GetSelectionInterval(int nSection) { |
| 152 | assert(nSection >= 0 && nSection < 64); |
| 153 | return (GetInterval() * 63 / (63 + ((63 - nSection) * (MODIFIER_INTERVAL_RATIO - 1)))); |
| 154 | } |
| 155 | |
| 156 | // Get stake modifier selection time (in seconds) |
| 157 | static int64_t GetSelectionTime() { |
no test coverage detected