Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitReaderOptions ¶ added in v0.1.1
type CommitReaderOptions struct { Logger *zap.Logger Network network.Network ValidatorStorage validatorstorage.ICollection IbftStorage collections.Iibft Out *event.Feed }
CommitReaderOptions defines the required parameters to create an instance
type DecidedReaderOptions ¶ added in v0.0.16
type DecidedReaderOptions struct { Logger *zap.Logger Storage collections.Iibft Network network.Network Config *proto.InstanceConfig Out *event.Feed }
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 Migrator ¶ added in v0.1.6
Migrator is an interface for migrating messages
func GetMainMigrator ¶ added in v0.1.6
func GetMainMigrator() Migrator
GetMainMigrator returns the instance of migrator
type Reader ¶
type Reader interface {
Start() error
}
Reader is an interface for ibft in the context of an exporter
func NewCommitReader ¶ added in v0.1.1
func NewCommitReader(opts CommitReaderOptions) Reader
NewCommitReader creates new instance
func NewDecidedReader ¶ added in v0.0.19
func NewDecidedReader(o DecidedReaderOptions) Reader
NewDecidedReader factory to create decided readers
func NewNetworkReader ¶ added in v0.0.19
func NewNetworkReader(o IncomingMsgsReaderOptions) Reader
NewNetworkReader factory to create network readers
type ShareHolder ¶ added in v0.1.5
type ShareHolder interface {
}ShareHolder is an interface for components that hold a share
Click to show internal directories.
Click to hide internal directories.