<p>In order to calculate the leaderlogs, the calculations require the epoch nonce. This epoch nonce value is calculated from the rolling nonce value at 1.5 days before the next epoch starts. This 1.5 days is also called the stability window. The nonce calculation also includes the block hash of the first slot of the previous epoch.</p>
<p>Finally, if there is extra entropy that needs to be added, the extra entropy protocol parameter is included in the epoch nonce calculation.</p>
<p>By using these two (sometimes 3) pieces of data along with a blake2b hash, we end up with a new epoch nonce value that can be used to calculate leaderlogs.</p>

CC BY-SA 4.0
2021-04-29T18:58:32.523Z
2021-04-29T18:58:32.523Z
Andrew Westberg - BCSH
<p>The earliest point is 1.5 days :-)</p>

CC BY-SA 4.0
2021-04-30T10:20:16.510Z
2021-04-30T10:20:16.510Z
Pluto
<p>What is the earliest point to check the leader log for the next epoch using tools like cncli? I though it was 60 hours in to the current epoch, but keep getting the &quot;Query returned no rows&quot; error.</p>

<stake-pool><leaderlog>
Stake pool leader logs
# Stake pool leader logs

(Asked by: username_0 on 2021-04-29)

What is the earliest point to check the leader log for the next epoch using tools like cncli? I though it was 60 hours in to the current epoch, but keep getting the "Query returned no rows" error.

**Tags:** stake-pool, leaderlog

---

## 2 answers

### Answer by username_1 on 2021-04-29. Score: 8 | Accepted answer

In order to calculate the leaderlogs, the calculations require the epoch nonce. This epoch nonce value is calculated from the rolling nonce value at 1.5 days before the next epoch starts. This 1.5 days is also called the stability window. The nonce calculation also includes the block hash of the first slot of the previous epoch.

Finally, if there is extra entropy that needs to be added, the extra entropy protocol parameter is included in the epoch nonce calculation.

By using these two (sometimes 3) pieces of data along with a blake2b hash, we end up with a new epoch nonce value that can be used to calculate leaderlogs.


---

### Answer by username_2 on 2021-04-30. Score: 3

The earliest point is 1.5 days :-)


---

