multisigcollector

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModule

func NewModule(mc *ModuleConfig, params *ModuleParams, nodeID t.NodeID) (modules.PassiveModule, error)

NewModule creates a new instance of the multisig collector module. Multisig collector is the simplest implementation of the availability layer. Whenever an availability certificate is requested, it pulls a batch from the mempool module, sends it to all replicas and collects params.F+1 signatures confirming that other nodes have persistently stored the batch.

func NewReconfigurableModule

func NewReconfigurableModule(mc *ModuleConfig, nodeID t.NodeID, logger logging.Logger) modules.PassiveModule

Types

type ModuleConfig

type ModuleConfig = common.ModuleConfig

ModuleConfig sets the module ids. All replicas are expected to use identical module configurations.

func DefaultModuleConfig

func DefaultModuleConfig() *ModuleConfig

DefaultModuleConfig returns a valid module config with default names for all modules.

type ModuleParams

type ModuleParams = common.ModuleParams

ModuleParams sets the values for the parameters of an instance of the protocol. All replicas are expected to use identical module parameters.

Directories

Path Synopsis
internal
dsl

Jump to

Keyboard shortcuts

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