Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg *config.Config, hub *component.ComponentHub, cs *chain.ChainService, pa types.PeerAccessor, rpcSvc *rpc.RPC) (consensus.Consensus, error)
New returns consensus.Consensus based on the configuration parameters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.