What is the proper way to calculate approximately when the next block halving will be?

Similar to https://www.bitcoinblockhalf.com/

Use epoch number with fraction. The primary reward halves every 365 * 24 = 8760 epochs starting from epoch 0, so the first halving starts since epoch 8760. Use 4 hours per epoch to estimate the time.

As the time of writing, Lina epoch number with fraction is 4917th + 385/1319, so the remaining time to the next halving is (8760 - 4917 - 385/1319) * 4 hours

2 Likes