impl

package
v2.4.10-gm Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 12 Imported by: 0

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, p2psvc *p2p.P2P, rpcSvc *rpc.RPC) (consensus.Consensus, error)

New returns consensus.Consensus based on the configuration parameters.

func ValidateGenesis

func ValidateGenesis(genesis *types.Genesis) error

Types

type GenesisValidator

type GenesisValidator func(genesis *types.Genesis) error

Directories

Path Synopsis
bp

Jump to

Keyboard shortcuts

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