MCPcopy Create free account
hub / github.com/ethstorage/es-node / Config

Struct Config

ethstorage/node/config.go:25–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23)
24
25type Config struct {
26 L1 eth.L1EndpointConfig
27 Downloader downloader.Config
28 // RPC used to query randao from a layer 1 blockchain when the storage contract is deployed on a layer 2
29 RandaoSourceURL string
30 // L2 L2EndpointSetup
31 // L2Sync L2SyncEndpointSetup
32
33 DataDir string
34 StateUploadURL string
35 DBConfig *db.Config
36 ChainID *big.Int
37 // Driver driver.Config
38
39 // // P2PSigner will be used for signing off on published content
40 // // if the node is sequencing and if the p2p stack is enabled
41 // P2PSigner p2p.SignerSetup
42
43 RPC RPCConfig
44
45 P2P p2p.SetupP2P
46
47 Storage storage.StorageConfig
48
49 Metrics MetricsConfig
50
51 Pprof oppprof.CLIConfig
52
53 // Used to poll the L1 for new finalized or safe blocks
54 L1EpochPollInterval time.Duration
55
56 // // Optional
57 // Tracer Tracer
58 // Heartbeat HeartbeatConfig
59 Mining *miner.Config
60
61 Archiver *archiver.Config
62
63 Scanner *scanner.Config
64}
65
66type MetricsConfig struct {
67 Enabled bool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected