-
Notifications
You must be signed in to change notification settings - Fork 11.2k
/
validator.yaml
55 lines (55 loc) · 1.76 KB
/
validator.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
protocol-key-pair:
path: /opt/sui/key-pairs/protocol.key
worker-key-pair:
path: /opt/sui/key-pairs/worker.key
network-key-pair:
path: /opt/sui/key-pairs/network.key
db-path: /opt/sui/db/authorities_db
network-address: /ip4/0.0.0.0/tcp/8080/http
metrics-address: 0.0.0.0:9184
admin-interface-port: 1337
consensus-config:
address: /ip4/127.0.0.1/tcp/8083/http
db-path: /opt/sui/db/consensus_db
internal-worker-address: null
narwhal-config:
header_num_of_batches_threshold: 32
max_header_num_of_batches: 1000
max_header_delay: 1000ms
gc_depth: 50
sync_retry_delay: 5000ms
sync_retry_nodes: 3
batch_size: 500000
max_batch_delay: 100ms
max_concurrent_requests: 500000
prometheus_metrics:
socket_addr: /ip4/127.0.0.1/tcp/33291/http
network_admin_server:
primary_network_admin_server_port: 41303
worker_network_admin_server_base_port: 41669
enable-event-processing: false
p2p-config:
listen-address: 0.0.0.0:8084
external-address: /dns/$HOSTNAME/udp/8084 # UPDATE THIS
anemo-config:
max-concurrent-connections: 0
genesis:
genesis-file-location: /opt/sui/config/genesis.blob
authority-store-pruning-config:
num-latest-epoch-dbs-to-retain: 3
epoch-db-pruning-period-secs: 3600
num-epochs-to-retain: 1
max-checkpoints-in-batch: 5
max-transactions-in-batch: 1000
end-of-epoch-broadcast-channel-capacity: 128
checkpoint-executor-config:
checkpoint-execution-max-concurrency: 200
local-execution-timeout-sec: 10
db-checkpoint-config:
perform-db-checkpoints-at-epoch-end: false
indirect-objects-threshold: 18446744073709551615
metrics:
push-interval-seconds: 60
# push-url: https://metrics-proxy.testnet.sui.io:8443/publish/metrics
# push-url: https://metrics-proxy.mainnet.sui.io:8443/publish/metrics