-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.toml
More file actions
30 lines (25 loc) · 833 Bytes
/
Copy pathconfig.toml
File metadata and controls
30 lines (25 loc) · 833 Bytes
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
[server]
host = "0.0.0.0"
port = 50051
max_connections = 1000
max_message_size_bytes = 4194304 # 4 MiB
[cluster]
append_entries_max_bytes = 4194304 # 4 MiB
[cluster.node]
node_id = 1
host = "0.0.0.0"
port = 50061
# Single-node deployment: the only peer is this node itself.
# Multi-node deployments add more `[[cluster.peers]]` entries with
# matching `peer_id` / `host` values; every node in the cluster ships
# the same `cluster.peers` list, only its own `[cluster.node]` differs.
[[cluster.peers]]
peer_id = 1
host = "http://127.0.0.1:50061"
[ledger]
max_accounts = 1000000
wait_strategy = "balanced" # low_latency | balanced | low_cpu
[ledger.storage]
data_dir = "./data"
transaction_count_per_segment = 10000000 # 10M transactions per segment
snapshot_frequency = 2 # take a snapshot every N sealed WAL segments