Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "v1.14.8"
Version defines the geth version deployed to all networks.
Variables ¶
This section is empty.
Functions ¶
func WriteAllConfig ¶
WriteAllConfig writes all the geth config files for all omniEVMs.
func WriteConfigTOML ¶
WriteConfigTOML writes the geth config to a toml file.
Types ¶
type Config ¶
type Config struct { // Moniker is the p2p node name. Moniker string // ChainID is the chain ID of the network. ChainID uint64 // IsArchive defines whether the node should run in archive mode. IsArchive bool // BootNodes are the enode URLs of the P2P bootstrap nodes. BootNodes []*enode.Node // TrustedNodes are the enode URLs of the P2P trusted nodes. TrustedNodes []*enode.Node }
Config is the configurable options for the standard omni geth config.
type FullConfig ¶
FullConfig is the go struct representation of the geth.toml config file. Copied from https://github.com/ethereum/go-ethereum/blob/master/cmd/geth/config.go#L95
func MakeGethConfig ¶
func MakeGethConfig(conf Config) FullConfig
MakeGethConfig returns the full omni geth config for the provided custom config.
Click to show internal directories.
Click to hide internal directories.