package
5.6.3-darwinv2-rc0+incompatible
Repository: https://github.com/scroll-tech/go-ethereum.git
Documentation: pkg.go.dev
# Functions
ExpFactor calculates ExpirationFactor based on logOffset.
float64ToFixed64 converts float64 to Fixed64 format.
NewExecQueue creates a new execution Queue.
NewLimiter creates a new Limiter.
No description provided by the author
NewWeightedRandomSelect returns a new WeightedRandomSelect structure.
Uint64ToFixed64 converts uint64 integer to Fixed64 format.
# Structs
ExecQueue implements a queue that executes function calls in a single thread, in the same order as they have been queued.
ExpirationFactor is calculated from logOffset.
ExpiredValue is a scalar value that is continuously expired (decreased exponentially) based on the provided logarithmic expiration offset value.
Expirer changes logOffset with a linear rate which can be changed during operation.
Limiter protects a network request serving mechanism from denial-of-service attacks.
LinearExpiredValue is very similar with the expiredValue which the value will continuously expired.
No description provided by the author
No description provided by the author
# Interfaces
ValueExpirer controls value expiration rate.
No description provided by the author