Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DockerNode ¶
type DockerNode struct {
// contains filtered or unexported fields
}
func NewDockerNode ¶
func (*DockerNode) Start ¶
func (d *DockerNode) Start() error
func (*DockerNode) Stop ¶
func (d *DockerNode) Stop() error
func (*DockerNode) Upgrade ¶
func (d *DockerNode) Upgrade(networkCfg *NetworkConfig) error
type NetworkConfig ¶
type NetworkConfig struct { ManagementContractAddress string MessageBusAddress string L1StartHash string // L1 block hash from which to process for L2 data (mgmt contract deploy block) }
NetworkConfig is key network information required to start a node connecting to that network. We persist it as a json file on our testnet hosts so that they can read it off when restart/upgrading
func ReadNetworkConfigFromDisk ¶
func ReadNetworkConfigFromDisk() (*NetworkConfig, error)
Click to show internal directories.
Click to hide internal directories.