chainsyncer

package
v1.2.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

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, logger logging.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.

type Options

type Options struct {
	FlagTimeout time.Duration
	PollEvery   time.Duration
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL