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 e1723e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/parlia/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type Snapshot struct {

Number uint64 `json:"number"` // Block number where the snapshot was created
Hash common.Hash `json:"hash"` // Block hash where the snapshot was created
TurnTerm uint64 `json:"turn_term"` // The consecutive number of blocks a validator receives priority for block production
TurnTerm uint64 `json:"turn_term"` // Term of `turn`, meaning the consecutive number of blocks a validator receives priority for block production
Validators map[common.Address]*ValidatorInfo `json:"validators"` // Set of authorized validators at this moment
Recents map[uint64]common.Address `json:"recents"` // Set of recent validators for spam protections
RecentForkHashes map[uint64]string `json:"recent_fork_hashes"` // Set of recent forkHash
Expand Down

0 comments on commit e1723e1

Please sign in to comment.