Documentation
¶
Overview ¶
Package pool manages event synchronization between nodes
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidConfig = fmt.Errorf("invalid pool configuration")
ErrInvalidConfig indicates the pool configuration is invalid
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// EventRate is how quickly to generate events (in milliseconds)
EventRate int64
// AnchorInterval is number of events before anchoring to drand beacon
AnchorInterval int
// SubEventComplex is probability of creating sub-events (0.0-1.0)
SubEventComplex float64
// VerifyInterval is events between verifications
VerifyInterval int
// Verbose enables detailed logging of event relationships
Verbose bool
}
Config represents pool configuration
Click to show internal directories.
Click to hide internal directories.