MCPcopy Create free account
hub / github.com/base/base / validator_command

Function validator_command

etc/systems/src/l1/lighthouse.rs:189–198  ·  view source on GitHub ↗
(beacon_endpoint: &str)

Source from the content-addressed store, hash-verified

187}
188
189fn validator_command(beacon_endpoint: &str) -> Vec<String> {
190 vec![
191 "vc".to_string(),
192 format!("--testnet-dir={LIGHTHOUSE_TESTNET_DIR}"),
193 format!("--datadir={LIGHTHOUSE_VALIDATOR_DATA_DIR}"),
194 format!("--beacon-nodes={beacon_endpoint}"),
195 format!("--suggested-fee-recipient={:#x}", DEPLOYER.address),
196 "--init-slashing-protection".to_string(),
197 ]
198}
199
200fn path_for_mount(path: &Path) -> String {
201 path.to_string_lossy().to_string()

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected