Versions in this module Expand all Collapse all v0 v0.1.1 May 12, 2022 Changes in this version + const NodePortEth1Http + const NodePortHttp + const NodePortP2P + const NodePortPrysmGrpc + func UnmarshalSSZTest(content []byte, result interface{}) error + func WithCmd(cmd []string) nodeOption + func WithContainer(repository, tag string) nodeOption + func WithFile(path string, obj interface{}) nodeOption + func WithHostNetwork() nodeOption + func WithLabels(m map[string]string) nodeOption + func WithMount(mount string) nodeOption + func WithName(name string) nodeOption + func WithOutput(output io.Writer) nodeOption + func WithRetry(retry func(n *node) error) nodeOption + type Account struct + Bls *bls.Key + Ecdsa *wallet.Key + func NewAccount() *Account + type Bootnode struct + Enr string + func NewBootnode() (*Bootnode, error) + type Eth1Server struct + func NewEth1Server() (*Eth1Server, error) + func (e *Eth1Server) Deposit() ethgo.Address + func (e *Eth1Server) GetDepositContract() *deposit.Deposit + func (e *Eth1Server) MakeDeposit(account *Account, config *beacon.ChainConfig) error + func (e *Eth1Server) Owner() ethgo.Address + func (e *Eth1Server) Provider() *jsonrpc.Client + func (n Eth1Server) GetAddr(port NodePort) string + func (n Eth1Server) GetLogs() (string, error) + func (n Eth1Server) IP() string + func (n Eth1Server) Stop() + type Eth2Spec struct + DepositContract string + EpochsPerEth1VotingPeriod int + EthFollowDistance int + GenesisDelay int + GenesisValidatorCount int + MinGenesisTime int + NetworkID int + SecondsPerEth1Block int + SecondsPerSlot int + ShardCommitteePeriod int + SlotsPerEpoch int + func (e *Eth2Spec) GetChainConfig() *beacon.ChainConfig + func (e *Eth2Spec) MarshalText() ([]byte, error) + type LighthouseBeacon struct + func NewLighthouseBeacon(e *Eth1Server) (*LighthouseBeacon, error) + func (b *LighthouseBeacon) Type() NodeClient + func (n LighthouseBeacon) GetAddr(port NodePort) string + func (n LighthouseBeacon) GetLogs() (string, error) + func (n LighthouseBeacon) IP() string + func (n LighthouseBeacon) Stop() + type LighthouseValidator struct + func NewLighthouseValidator(account *Account, spec *Eth2Spec, beacon Node) (*LighthouseValidator, error) + type Node interface + GetAddr func(NodePort) string + IP func() string + Type func() NodeClient + type NodeClient string + const Lighthouse + const Prysm + const Teku + type NodePort string + type PrysmBeacon struct + func NewPrysmBeacon(e *Eth1Server) (*PrysmBeacon, error) + func (b *PrysmBeacon) Type() NodeClient + func (n PrysmBeacon) GetAddr(port NodePort) string + func (n PrysmBeacon) GetLogs() (string, error) + func (n PrysmBeacon) IP() string + func (n PrysmBeacon) Stop() + type PrysmValidator struct + func NewPrysmValidator(account *Account, spec *Eth2Spec, beacon Node) (*PrysmValidator, error) + type TekuBeacon struct + func NewTekuBeacon(e *Eth1Server) (*TekuBeacon, error) + func (b *TekuBeacon) Stop() + func (b *TekuBeacon) Type() NodeClient + func (n TekuBeacon) GetAddr(port NodePort) string + func (n TekuBeacon) GetLogs() (string, error) + func (n TekuBeacon) IP() string + type TekuValidator struct + func NewTekuValidator(account *Account, spec *Eth2Spec, beacon Node) (*TekuValidator, error) + func (v *TekuValidator) IP() string