Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NetworkNames = map[uint64]string{ params.TaikoMainnetNetworkID.Uint64(): "Taiko Mainnet", params.HeklaNetworkID.Uint64(): "Taiko Hekla Testnet", params.TaikoInternalL2ANetworkID.Uint64(): "Taiko Internal Devnet", }
NetworkNames are user friendly names to use in the chain spec banner.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig struct { // Ontake switch block (nil = no fork, 0 = already on ontake) ProtocolConfigs *bindings.TaikoDataConfig `json:"protocolConfigs"` }
ChainConfig is the core config which determines the blockchain settings.
func NewChainConfig ¶
func NewChainConfig(protocolConfigs *bindings.TaikoDataConfig) *ChainConfig
NewChainConfig creates a new ChainConfig instance.
func (*ChainConfig) Description ¶
func (c *ChainConfig) Description() string
Description returns a human-readable description of ChainConfig.
Click to show internal directories.
Click to hide internal directories.