Documentation ¶
Overview ¶
Package chainsyncer provides orchestration logic for the chainsync protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainSyncer ¶
type ChainSyncer struct {
// contains filtered or unexported fields
}
func New ¶
func New(backend transaction.Backend, p prover, peerIterator topology.EachPeerer, disconnecter p2p.Disconnecter, logger log.Logger, o *Options) (*ChainSyncer, error)
func (*ChainSyncer) Close ¶
func (c *ChainSyncer) Close() error
func (*ChainSyncer) Metrics ¶
func (c *ChainSyncer) Metrics() []prometheus.Collector
Metrics returns the prometheus Collector for the accounting service.
Click to show internal directories.
Click to hide internal directories.