-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtemplate-validator.toml
More file actions
56 lines (45 loc) · 1.3 KB
/
template-validator.toml
File metadata and controls
56 lines (45 loc) · 1.3 KB
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
56
[account]
# example: unlock = ["0x60cf8ebf54d4f8e93aa89a0b28469827f0df04b2"]
unlock = ["put your address here"]
password = ["password.txt"]
[ipc]
disable = true
[mining]
# example: engine_signer = "0x60cf8ebf54d4f8e93aa89a0b28469827f0df04b2"
engine_signer = "put your node address here"
force_sealing = true
min_gas_price = 1000
reseal_min_period = 0
reseal_on_txs = "none"
gas_floor_target = "300000000"
# for experienced users: adjust those settings for better performance.
tx_queue_size = 10240
tx_queue_mem_limit = 128
tx_queue_per_sender = 256
tx_queue_no_early_reject = true
[misc]
log_file = "diamond-node.log"
logging = "txqueue=info,consensus=info,engine=info,hbbft_message_memorium=error,own_tx=trace"
shutdown_on_missing_block_import = 700
[network]
interface = "all"
nat = "none"
port = 37373
reserved_peers = "reserved-peers"
# don't attempts to connect to non-public (~ local network) IPs (VM hosters do not like that)
allow_ips = "public"
max_peers = 42
min_peers = 15
[parity]
base_path = "data"
chain = "spec.json"
[rpc]
disable = true
[secretstore]
disable = true
[websockets]
disable = true
[footprint]
# TODO: set the maximum amount of memory, you can spare for this diamond-node.
# if no other services are running, you can set this value to almost all of your available RA
# cache_size = 4096