servicesync

package
v1.3.10 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServiceBlockSync

func NewServiceBlockSync(ctx context.Context, logger log.Logger, source blockSource, committer BlockPairCommitter) *govnr.ForeverHandle

func NewStateStorageCommitter

func NewStateStorageCommitter(stateStorage services.StateStorage) *stateStorageCommitter

func NewTxPoolCommitter

func NewTxPoolCommitter(txPool services.TransactionPool) *transactionPoolCommitter

Types

type BlockPairCommitter

type BlockPairCommitter interface {
	GetServiceName() string
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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