Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetworkConfiguration ¶
type NetworkConfiguration struct { NetworkID uint64 NetworkName string GenesisBlock *core.Genesis ContractAddress common.Address // contains filtered or unexported fields }
NetworkConfiguration defines the Ethereum network specific configuration needed by the bridge
func GetEthNetworkConfiguration ¶
func GetEthNetworkConfiguration(networkname string) (networkconfig NetworkConfiguration, err error)
GetEthNetworkConfiguration returns the EthNetworkConAfiguration for a specific network
func (NetworkConfiguration) GetBootnodes ¶
func (config NetworkConfiguration) GetBootnodes(bootnodes []string) ([]*enode.Node, error)
GetBootnodes returns the bootnodes for the specific network as slice of *discv5.Node The default bootnodes can be overridden by passing a non nil or empty bootnodes parameter
Click to show internal directories.
Click to hide internal directories.