package
0.0.0-20230301081111-79ba34714ab8
Repository: https://github.com/truecloudlab/frostfs-node.git
Documentation: pkg.go.dev
# Functions
NewBlockTimer creates a new BlockTimer.
NewOneTickTimer creates a new BlockTimer that ticks only once.
StaticBlockMeter returns BlockMeters that always returns (d, nil).
WithPulse returns option to call delta-interval handler multiple times.
# Structs
BlockTimer represents block timer.
# Type aliases
BlockMeter calculates block time interval dynamically.
BlockTickHandler is a callback of a certain block advance.
DeltaOption is an option of delta-interval handler.