ibft

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	Start()
	Sync() error
}

Reader is a minimal interface for ibft in the context of an exporter

func NewIbftReadOnly

func NewIbftReadOnly(opts ReaderOptions) Reader

NewIbftReadOnly creates new instance of Reader

type ReaderOptions

type ReaderOptions struct {
	Logger         *zap.Logger
	Storage        collections.Iibft
	Network        network.Network
	Config         *proto.InstanceConfig
	ValidatorShare *storage.Share
}

ReaderOptions defines the required parameters to create an instance

Jump to

Keyboard shortcuts

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