-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhotcertification.toml
43 lines (37 loc) · 1.07 KB
/
hotcertification.toml
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
# For TLS
root-ca = "keys/root.crt"
# HotStuff config options
pacemaker = "round-robin"
view-timeout = 100
# Size of RSA key that certificates are signed with
# must be same size as set when generating keys with keygen executable
key-size = 512
# This is the information that each replica is given about the other replicas
[[nodes]]
id = 1
pubkey = "keys/n1.key.pub"
tls-cert = "keys/n1.crt"
client-srv-address = "127.0.0.1:8081"
replication-srv-address = "127.0.0.1:13371"
signing-srv-address = "127.0.0.1:23371"
[[nodes]]
id = 2
pubkey = "keys/n2.key.pub"
tls-cert = "keys/n2.crt"
client-srv-address = "127.0.0.1:8082"
replication-srv-address = "127.0.0.1:13372"
signing-srv-address = "127.0.0.1:23372"
[[nodes]]
id = 3
pubkey = "keys/n3.key.pub"
tls-cert = "keys/n3.crt"
client-srv-address = "127.0.0.1:8083"
replication-srv-address = "127.0.0.1:13373"
signing-srv-address = "127.0.0.1:23373"
[[nodes]]
id = 4
pubkey = "keys/n4.key.pub"
tls-cert = "keys/n4.crt"
client-srv-address = "127.0.0.1:8084"
replication-srv-address = "127.0.0.1:13374"
signing-srv-address = "127.0.0.1:23374"