Versions in this module Expand all Collapse all v1 v1.4.2 Oct 4, 2021 v1.4.1 Oct 4, 2021 Changes in this version + type Cluster struct + func New(env *env.Environment, cfg Config) *Cluster + func (cl *Cluster) Init() error + func (cl *Cluster) PrintNodeInfo() error + func (cl *Cluster) Run(ctx context.Context) error + type Config struct + ExtraFlags string + GethPath string + type Node struct + func NewNode(cfg *NodeConfig) *Node + func (n *Node) AccountAddresses() []common.Address + func (n *Node) EnodeURL() (string, error) + func (n *Node) Init(GenesisJSON string) error + func (n *Node) Run(ctx context.Context) error + func (n *Node) SetStaticNodes(enodeUrls ...string) error + type NodeConfig struct + Account env.Account + ChainID *big.Int + Datadir string + ExtraFlags string + GethPath string + Number int + OtherAccounts []env.Account + TxFeeRecipientAccount env.Account + func (nc *NodeConfig) NodePort() int64 + func (nc *NodeConfig) RPCPort() int64