ibft

package
v0.0.18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecidedReaderOptions added in v0.0.16

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

DecidedReaderOptions defines the required parameters to create an instance

type IncomingMsgsReaderOptions added in v0.0.16

type IncomingMsgsReaderOptions struct {
	Logger  *zap.Logger
	Network network.Network
	Config  *proto.InstanceConfig
	PK      *bls.PublicKey
}

IncomingMsgsReaderOptions defines the required parameters to create an instance

type Reader

type Reader interface {
	Start() error
}

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

func NewIbftDecidedReadOnly added in v0.0.16

func NewIbftDecidedReadOnly(opts DecidedReaderOptions) Reader

NewIbftDecidedReadOnly creates new instance of DecidedReader

func NewIncomingMsgsReader added in v0.0.16

func NewIncomingMsgsReader(opts IncomingMsgsReaderOptions) Reader

NewIncomingMsgsReader creates new instance

Jump to

Keyboard shortcuts

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