Versions in this module Expand all Collapse all v0 v0.5.4 Sep 24, 2020 Changes in this version + func AvgSpamMetricsCaller(handler interface{}, params ...interface{}) + func SpamStatsCaller(handler interface{}, params ...interface{}) + type AvgSpamMetrics struct + AveragePerSecond float32 + New uint32 + type SendBundleFunc = func(b bundle.Bundle) error + type SpamStats struct + GTTA float32 + POW float32 + type Spammer struct + func New(txAddress string, message string, tag string, tagSemiLazy string, ...) *Spammer + func (s *Spammer) DoSpam(bundleSize int, valueSpam bool, shutdownSignal <-chan struct{}) (time.Duration, time.Duration, error) + type SpammerEvents struct + AvgSpamMetricsUpdated *events.Event + SpamPerformed *events.Event + type SpammerTipselFunc = func() (isSemiLazy bool, tips hornet.Hashes, err error)