From e705707a8d7bc7b14cbbea211a7edcf08e64f5d3 Mon Sep 17 00:00:00 2001 From: NathanBSC Date: Tue, 4 Jun 2024 19:22:47 +0800 Subject: [PATCH] consensus/parlia: explain turnterm in comments --- consensus/parlia/parlia.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/parlia/parlia.go b/consensus/parlia/parlia.go index 191861815f..2f1d2298b1 100644 --- a/consensus/parlia/parlia.go +++ b/consensus/parlia/parlia.go @@ -54,7 +54,7 @@ const ( checkpointInterval = 1024 // Number of blocks after which to save the snapshot to the database defaultEpochLength = uint64(100) // Default number of blocks of checkpoint to update validatorSet from contract - defaultTurnTerm = uint64(1) // Default consecutive number of blocks a validator receives priority for block production + defaultTurnTerm = uint64(1) // Default consecutive number of blocks a validator receives priority for block production, meaning default term of `turn` extraVanity = 32 // Fixed number of extra-data prefix bytes reserved for signer vanity extraSeal = 65 // Fixed number of extra-data suffix bytes reserved for signer seal