You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6e2d7ff
Browse filesBrowse the repository at this point in the historyBrowse files
genesis: 817855# (Optional) Genesis block number for this consensus deployment. If not provided, it will be auto-detected by searching for the first log from the ConsensusMain contract.
10
-
datadir: "./data/node"# Cache directory
14
+
15
+
# data directory
16
+
datadir: "./data/node"
17
+
18
+
# logging configuration
11
19
logging:
12
20
level: "INFO"
13
21
# json: `true` for json output to console, false for human readable log formatting
@@ -19,40 +27,29 @@ logging:
19
27
level: "DEBUG"
20
28
# folder: path to the folder where to store logs. Relative paths go under `datadir`.
21
29
folder: logs
22
-
# maxsize: maximum size in megabytes of the log file before it gets rotated. It defaults to 100 megabytes.
23
-
maxsize: 500
30
+
# maxsize: maximum size in megabytes of the log file before it gets rotated.
31
+
maxsize: 10
24
32
# maxage: maximum number of days to retain old log files based on the timestamp encoded in their filename.
25
33
maxage: 7
26
34
# maxbackups: maximum number of old log files to retain. Set to 0 for no limit
27
-
maxbackups: 10
35
+
maxbackups: 100
28
36
# localtime: determines if the time used for formatting the timestamps in backup files is the computer's local time. Set to `false` to use UTC time.
29
37
localtime: false
30
38
# compress: determines if the rotated log files should be compressed using gzip
31
39
compress: true
32
-
node:
33
-
mode: "validator"# "validator" or "archive"
34
-
rpc:
35
-
port: 9151# JSON RPC port
36
-
endpoints:
37
-
groups:
38
-
ethereum: true # Enable Ethereum RPC endpoints
39
-
debug: false # Enable debug endpoints
40
-
methods: # Enabled `eth_` methods
41
-
eth_blockNumber: true
42
-
eth_getBlockByNumber: true
43
-
eth_getBlockByHash: true
44
-
eth_sendRawTransaction: false
45
-
ops:
46
-
port: 9153# Metrics port
47
-
endpoints:
48
-
metrics: true # Enable metrics endpoint
49
-
health: true # Enable health endpoint
50
-
dev: # Configuration for development purposes
51
-
disableSubscription: false # Disable subscription
52
40
41
+
# node configuration
42
+
node:
43
+
# Uncomment if the ID of the node is different from the consensus validator address.
44
+
# It is used to identify the node in the network.
45
+
# id: "node"
46
+
# Mode can be "validator" or "archive".
47
+
# Default value is "validator".
48
+
mode: "validator"
49
+
# genvm configuration
53
50
genvm:
54
51
bin_dir: ./third_party/genvm/bin
55
-
manage_modules: true
52
+
manage_modules: true# if true node will start genvm modules itself
56
53
57
54
# Advanced configuration
58
55
merkleforest:
@@ -61,4 +58,31 @@ merkleforest:
61
58
indexdbpath: "./data/node/merkle/index.db"
62
59
merkletree:
63
60
maxdepth: 16
64
-
dbpath: "./data/node/merkle/tree/"
61
+
dbpath: "./data/node/merkle/tree/"
62
+
63
+
# Telemetry configuration
64
+
# telemetry:
65
+
# Uncomment to enable telemetry logs
66
+
# logs:
67
+
# endpoint: "https://logs-receiver-xxxxx.run.app"
68
+
# timeout: "300s"
69
+
# max_retries: 5
70
+
# retry_delay: "1s"
71
+
# max_file_size: "100MB"
72
+
73
+
# metrics configuration
74
+
metrics:
75
+
interval: "15s"# Default interval for all collectors (can be overridden per collector)
76
+
# collectors:
77
+
# node:
78
+
# enabled: true
79
+
# # interval: "30s" # Optional: Override default interval for this collector
80
+
# genvm:
81
+
# enabled: true
82
+
# # interval: "20s" # Optional: Override default interval for this collector
0 commit comments