archive

package
v0.0.0-...-ea48f79 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveService

type ArchiveService interface {
	// Stop stops the ArchiveService
	Stop()
}

ArchiveService is the object that controls the Archive gossip service

func NewArchiveService

func NewArchiveService(gossip gossip, chainID common.ChainID, ledger ledgerResources) ArchiveService

NewArchiveService returns a new ArchiveService

type Msg

type Msg interface {
	// BlockfileNo returns the blockfile number that was archived
	BlockfileNo() uint64
}

Msg describes an ArchivedBlockfile message sent from a remote peer

Jump to

Keyboard shortcuts

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