module Peras.Params where
record Params : Set where
field U : ℕ
K : ℕ
R : ℕ
L : ℕ
A : ℕ
τ : ℕ
B : ℕ
T : ℕ
⦃ U-nonZero ⦄ : NonZero U
⦃ K-nonZero ⦄ : NonZero K
The length (in slots) of a voting round
The length of a cooldown period (in voting rounds). This needs to be large enough so that order of b*n + k blocks are produced in time T*K, where k is the current common-prefix parameter
Chain-ignorance period
Cutoff window (in slots) which is ignored to select block to vote for in a round
Max age for including a certificate
The Number of votes required for quorum (3/4*n + 2*δ for some δ > 0)
The weight boost per vote
Termination bound for block selection, in slots