Documentation ¶
Overview ¶
Package puller provides protocol-orchestrating functionality over the pullsync protocol. It pulls chunks from other nodes and reacts to changes in network configuration.
Index ¶
Constants ¶
View Source
const (
DefaultHistRateWindow = time.Minute * 15
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Puller ¶
type Puller struct {
// contains filtered or unexported fields
}
func New ¶
func New( stateStore storage.StateStorer, topology topology.Driver, reserveState storer.RadiusChecker, pullSync pullsync.Interface, blockLister p2p.Blocklister, logger log.Logger, o Options, ) *Puller
func (*Puller) Metrics ¶ added in v0.2.0
func (p *Puller) Metrics() []prometheus.Collector
Click to show internal directories.
Click to hide internal directories.