Skip to content

Commit

Permalink
consensus/parlia: explain turnterm in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBSC committed Jun 4, 2024
1 parent 6bf57e8 commit e705707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/parlia/parlia.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e705707

Please sign in to comment.