-
Notifications
You must be signed in to change notification settings - Fork 3
/
sharp.protocol.template.yml
46 lines (46 loc) · 1.46 KB
/
sharp.protocol.template.yml
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
#@ load("@ytt:data", "data")
#@ for i in range(0,2+data.values.validators_count):
---
ApplicationConfiguration:
Logger:
Path: Logs
ConsoleOutput: true
Active: true
Storage:
Engine: LevelDBStore
Path: Data_LevelDB_{0}
P2P:
Port: #@ data.values.nodes_info[i].node_port
WsPort: 9999
MaxConnections: 10
MaxConnectionsPerAddress: 3
UnlockWallet:
Path: /neo-cli/wallet.json
Password: #@ data.values.nodes_info[i].wallet_password
IsActive: true
PluginURL: https://github.com/neo-project/neo-plugins/releases/download/v{1}/{0}.zip
ProtocolConfiguration:
Network: 56753
#@ if data.values.nodes_info[i].node_name == "single":
MillisecondsPerBlock: 1000
MemoryPoolMaxTransactions: 50000
ValidatorsCount: 1
StandbyCommittee:
- #@ data.values.nodes_info[i].validator_hash
SeedList:
- #@ "node:{}".format(data.values.nodes_info[i].node_port)
#@ else:
MillisecondsPerBlock: 5000
MemoryPoolMaxTransactions: 50000
ValidatorsCount: #@ data.values.validators_count
StandbyCommittee:
#@ for j in range(2,2+data.values.validators_count):
- #@ data.values.nodes_info[j].validator_hash
#@ end
SeedList:
#@ for j in range(2,2+data.values.validators_count):
- #@ "node_{}:{}".format(data.values.nodes_info[j].node_name, data.values.nodes_info[j].node_port)
#@ end
#@ end
MaxTransactionsPerBlock: 65535
#@ end