genutil

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: GPL-3.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const ValidatorPower = 100

ValidatorPower is the default power assigned to genesis validators.

Variables

This section is empty.

Functions

func DefaultConsensusParams

func DefaultConsensusParams() *types.ConsensusParams

DefaultConsensusParams returns the default cometBFT consensus params for omni protocol.

func MakeGenesis

func MakeGenesis(
	network netconf.ID,
	genesisTime time.Time,
	executionBlockHash common.Hash,
	upgradeName string,
	valPubkeys ...crypto.PubKey,
) (*gtypes.AppGenesis, error)

Types

This section is empty.

Directories

Path Synopsis
evm
Package genserve provides a simple gRPC server that allows querying the consensus and execution genesis files.
Package genserve provides a simple gRPC server that allows querying the consensus and execution genesis files.

Jump to

Keyboard shortcuts

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