Skip to main content

Node Configuration Reference

The table below represents the reference for every Node configuration option available.

Caution

The following configuration options are intended for advanced users with a deep understanding of their impact.

The parameters used in the Automatic Installation guide and Manual Installation guide should serve the vast majority of users.

Please exercise extreme care and discretion when modifying these settings, as any incorrect changes may result in unintended consequences or system instability.

YAMLENVDefaultDescription
global
global.LogLevelLOG_LEVELinfoDefines logger's log level'
global.LogFormatLOG_FORMATconsoleDefines logger's encoding, valid values are 'json' (default) and 'console''
global.LogLevelFormatLOG_LEVEL_FORMATcapitalColorDefines logger's level format, valid values are 'capitalColor' (default), 'capital' or 'lowercase''
global.LogFileBackupsLOG_FILE_BACKUPS3Defines of log files preserved, 500MB each (roughly equivalent to half a day each, but heavily dependant on number of validators and other factors).
global.LogFilePathLOG_FILE_PATH./data/debug.logDefines a file path to write logs into
db
db.PathDB_PATH./data/dbPath for storage
db.ReportingDB_REPORTINGFALSEFlag to run on-off db size reporting
db.GCIntervalDB_GC_INTERVAL6mInterval between garbage collection cycles. Set to 0 to disable.
ssv
ssv.NetworkNETWORKmainnetNetwork is the network of this node
ssv.ValidatorOptions
ssv.ValidatorOptions.SignatureCollectionTimeoutSIGNATURE_COLLECTION_TIMEOUT5sTimeout for signature collection after consensus
ssv.ValidatorOptions.MetadataUpdateIntervalMETADATA_UPDATE_INTERVAL12mInterval for updating metadata
ssv.ValidatorOptions.HistorySyncBatchSizeHISTORY_SYNC_BATCH_SIZE25Maximum number of messages to sync in a single batch
ssv.ValidatorOptions.MinimumPeersMINIMUM_PEERS2The required minimum peers for sync
ssv.ValidatorOptions.FullNodeFULLNODEFALSESave decided history rather than just highest messages
ssv.ValidatorOptions.ExporterEXPORTERFALSE
ssv.ValidatorOptions.MsgWorkersCountMSG_WORKERS_COUNT256Number of goroutines to use for message workers
ssv.ValidatorOptions.MsgWorkerBufferSizeMSG_WORKER_BUFFER_SIZE1024Buffer size for message workers
eth1
eth1.ETH1AddrETH_1_ADDRExecution client WebSocket address. Supports multiple endpoints separated by a ;
eth1.ETH1ConnectionTimeoutETH_1_CONNECTION_TIMEOUT10sExecution client connection timeout
eth2
eth2.BeaconNodeAddrBEACON_NODE_ADDRConsensus/Beacon client HTTP address. Supports multiple endpoints separated by a ;
p2p
p2p.BootnodesBOOTNODESBootnodes to use to start discovery, seperated with '
p2p.DiscoveryP2P_DISCOVERYdiscv5Discovery system to use
p2p.TcpPortTCP_PORT13001TCP port for p2p transport
p2p.UdpPortUDP_PORT12001UDP port for discovery
p2p.HostAddressHOST_ADDRESSExternal ip node is exposed for discovery
p2p.HostDNSHOST_DNSExternal DNS node is exposed for discovery
p2p.RequestTimeoutP2P_REQUEST_TIMEOUT10s
p2p.MaxBatchResponseP2P_MAX_BATCH_RESPONSE25Maximum number of returned objects in a batch
p2p.MaxPeersP2P_MAX_PEERS60Connected peers limit for connections
p2p.TopicMaxPeersP2P_TOPIC_MAX_PEERS10Connected peers limit per pubsub topic
p2p.SubnetsSUBNETSHex string that represents the subnets that this node will join upon start
p2p.PubSubScoringPUBSUB_SCORINGTRUEFlag to turn on/off pubsub scoring
p2p.PubSubTracePUBSUB_TRACEFlag to turn on/off pubsub tracing in logs
p2p.DiscoveryTraceDISCOVERY_TRACEFlag to turn on/off discovery tracing in logs
p2p.PubsubMsgCacheTTLPUBSUB_MSG_CACHE_TTLHow long a message ID will be remembered as seen
p2p.PubsubOutQueueSizePUBSUB_OUT_Q_SIZEThe size that we assign to the outbound pubsub message queue
p2p.PubsubValidationQueueSizePUBSUB_VAL_Q_SIZEhe size that we assign to the pubsub validation queue
p2p.PubsubPubsubValidateThrottlePUBSUB_VAL_THROTTLEThe amount of goroutines used for pubsub msg validation
p2p.PermissionedActivateEpochPERMISSIONED_ACTIVE_EPOCH0On which epoch to start only accepting peers that are operators registered in the contract
p2p.PermissionedDeactivateEpochPERMISSIONED_DEACTIVE_EPOCH99999999999999On which epoch to start accepting operators all peers
p2p.WhitelistedOperatorKeysWHITELISTED_KEYSOperators' keys not registered in the contract with which the node will accept connections
KeyStore
KeyStore.PrivateKeyFilePRIVATE_KEY_FILEOperator private key file
KeyStore.PasswordFilePASSWORD_FILEPassword for operator private key file decryption
OperatorPrivateKeyOPERATOR_KEYOperator private key, used to decrypt contract events
MetricsAPIPortMETRICS_API_PORT15000Port to listen on for the metrics API.
EnableProfileENABLE_PROFILEflag that indicates whether go profiling tools are enabled
NetworkPrivateKeyNETWORK_PRIVATE_KEYprivate key for network identity
WebSocketAPIPortWS_API_PORTPort to listen on for the websocket API.
WithPingWITH_PINGWhether to send websocket ping messages'
SSVAPIPortSSV_API_PORT16000Port to listen on for the SSV API.
LocalEventsPathEVENTS_PATHpath to local events
GraffitiGRAFFITIssv.networkCustom graffiti for block proposals