Documentation
¶
Index ¶
- Constants
- func Factory(mc common2.ModuleConfig, issParams *issconfig.ModuleParams, ownID t.NodeID, ...) modules.PassiveModule
- func InstanceParams(segment *common2.Segment, availabilityID t.ModuleID, epoch tt.EpochNr, ...) *factorypbtypes.GeneratorParams
- func NewOrdererModule(moduleConfig common2.ModuleConfig, ownID t.NodeID, segment *common2.Segment, ...) modules.PassiveModule
- type ValidityCheckerType
Constants ¶
View Source
const ( PermissiveValidityChecker = iota CheckpointValidityChecker )
Variables ¶
This section is empty.
Functions ¶
func Factory ¶
func Factory( mc common2.ModuleConfig, issParams *issconfig.ModuleParams, ownID t.NodeID, hashImpl crypto.HashImpl, chkpVerifier checkpoint.Verifier, logger logging.Logger, ) modules.PassiveModule
func InstanceParams ¶
func InstanceParams( segment *common2.Segment, availabilityID t.ModuleID, epoch tt.EpochNr, validityCheckerType ValidityCheckerType, ) *factorypbtypes.GeneratorParams
func NewOrdererModule ¶
func NewOrdererModule( moduleConfig common2.ModuleConfig, ownID t.NodeID, segment *common2.Segment, config *common.PBFTConfig, externalValidator common.ValidityChecker, logger logging.Logger) modules.PassiveModule
Types ¶
type ValidityCheckerType ¶ added in v0.2.2
type ValidityCheckerType uint64
Click to show internal directories.
Click to hide internal directories.