synchronize

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Downloaders *downloader.Downloaders
}

Service is simply a adapter of Downloaders, which support block synchronization

func NewService

func NewService(host p2p.Host, bcs []core.BlockChain, config downloader.Config) *Service

NewService creates the a new downloader service

func (*Service) Start

func (s *Service) Start() error

Start start the service

func (*Service) Stop

func (s *Service) Stop() error

Stop stop the service

Jump to

Keyboard shortcuts

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