Skip to content

Isn't 2160 blocks 12h instead of 36h to guarantee blocks be immutable? #136

Answered by KtorZ
eyeinsky asked this question in Q&A
Discussion options

You must be logged in to vote

It's a little bit more complicated. One block isn't created every 20s. On average, there's a block every 20s if the chain only contains honest actors. So in principle you cannot really make assumptions about the time it takes to see N blocks. Could be N*20s, could be slightly less or it could be more.

Yet, in Ouroboros Praos, the protocol gives you another guarantee: at least k honest blocks are produced in a window of 3k/f slots; where k is the security parameter (k=2160 on mainnet) and f the active slot coefficient (f=0.05 on mainnet).

Thus on Mainnet, This tells you that in a window of 129600 slots, the protocol guarantees that you see at least k blocks. With a slot length of 1s, that'…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@eyeinsky
Comment options

Answer selected by KtorZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants