Skip to content

Commit

Permalink
add dynamic filter timeout parameter, matching go-algorand PR 5654 (#603
Browse files Browse the repository at this point in the history
)
  • Loading branch information
yossigi authored Aug 31, 2023
1 parent 92cfa33 commit c039b84
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions protocol/config/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,12 @@ type ConsensusParams struct {
// used by agreement for Circulation, and updates the calculation of StateProofOnlineTotalWeight used
// by state proofs to use the same method (rather than excluding stake from the top N stakeholders as before).
ExcludeExpiredCirculation bool

// DynamicFilterTimeout indicates whether the filter timeout is set
// dynamically, at run time, according to the recent history of credential
// arrival times or is set to a static value. Even if this flag disables the
// dynamic filter, it will be calculated and logged (but not used).
DynamicFilterTimeout bool
}

// PaysetCommitType enumerates possible ways for the block header to commit to
Expand Down

0 comments on commit c039b84

Please sign in to comment.