Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ObtainJwtSecret ¶
Types ¶
type CaplinCliCfg ¶
type CaplinCliCfg struct { *sentinelcli.SentinelCliCfg CheckpointUri string `json:"checkpoint_uri"` Chaindata string `json:"chaindata"` ErigonPrivateApi string `json:"erigon_private_api"` TransitionChain bool `json:"transition_chain"` InitialSync bool `json:"initial_sync"` NoBeaconApi bool `json:"no_beacon_api"` BeaconApiReadTimeout time.Duration `json:"beacon_api_read_timeout"` BeaconApiWriteTimeout time.Duration `json:"beacon_api_write_timeout"` BeaconAddr string `json:"beacon_addr"` BeaconProtocol string `json:"beacon_protocol"` RecordMode bool `json:"record_mode"` RecordDir string `json:"record_dir"` DataDir string `json:"data_dir"` RunEngineAPI bool `json:"run_engine_api"` EngineAPIAddr string `json:"engine_api_addr"` EngineAPIPort int `json:"engine_api_port"` JwtSecret []byte InitalState *state.CachingBeaconState Dirs datadir.Dirs }
func SetupCaplinCli ¶
func SetupCaplinCli(ctx *cli.Context) (cfg *CaplinCliCfg, err error)
Click to show internal directories.
Click to hide internal directories.