Documentation
¶
Index ¶
- func EthCLAddrFlag(v *viper.Viper, f *pflag.FlagSet)
- func EthCLConfigFromViper(v *viper.Viper) *consclienthttp.Config
- func EthELAddrFlag(v *viper.Viper, f *pflag.FlagSet)
- func EthELConfigFromViper(v *viper.Viper) *jsonrpchttp.Config
- func GetCLAddr(v *viper.Viper) string
- func GetEthELAddr(v *viper.Viper) string
- func GetKeystorePassword(v *viper.Viper) string
- func GetKeystorePath(v *viper.Viper) string
- func KeystoreConfigFromViper(v *viper.Viper) *gethkeystore.Config
- func KeystoreFlag(v *viper.Viper, f *pflag.FlagSet)
- func KeystorePasswordFlag(v *viper.Viper, f *pflag.FlagSet)
- func KeystorePathFlag(v *viper.Viper, f *pflag.FlagSet)
- func NewCmdEthCL(ctx context.Context, newCLClient func(*viper.Viper) (consclient.Client, error)) *cobra.Command
- func NewCmdEthEL(ctx context.Context, ...) *cobra.Command
- func NewCmdKeystore(ctx context.Context, newKeystore func(*viper.Viper) (keystore.Store, error)) *cobra.Command
- func PrintJSON(fnc func(cmd *cobra.Command, args []string) (interface{}, error)) func(cmd *cobra.Command, args []string) error
- func ViperFromContext(ctx context.Context) *viper.Viper
- func WithViper(ctx context.Context, v *viper.Viper) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EthCLAddrFlag ¶
EthCLAddrFlag register flag for Eth1 node to connect to
func EthCLConfigFromViper ¶
func EthCLConfigFromViper(v *viper.Viper) *consclienthttp.Config
func EthELAddrFlag ¶
EthELAddrFlag register flag for Eth1 node to connect to
func EthELConfigFromViper ¶
func EthELConfigFromViper(v *viper.Viper) *jsonrpchttp.Config
func GetEthELAddr ¶
func GetKeystorePassword ¶
func GetKeystorePath ¶
func KeystoreConfigFromViper ¶
func KeystoreConfigFromViper(v *viper.Viper) *gethkeystore.Config
func KeystorePasswordFlag ¶
KeystorePasswordFlag register flag for the password used to encrypt keys in keystore
func KeystorePathFlag ¶
KeystorePathFlag register flag for the path to the file keystore
func NewCmdEthCL ¶
func NewCmdEthCL( ctx context.Context, newCLClient func(*viper.Viper) (consclient.Client, error), ) *cobra.Command
NewCmdEthCL creates the `eth-cl` command
func NewCmdEthEL ¶
func NewCmdEthEL( ctx context.Context, newELClient func(*viper.Viper) (*execclient.Client, error), ) *cobra.Command
NewCmdEthEL creates the `eth-el` command
func NewCmdKeystore ¶
func NewCmdKeystore( ctx context.Context, newKeystore func(*viper.Viper) (keystore.Store, error), ) *cobra.Command
NewCmdKeystore creates the `eth-el` command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.