-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_template.ini
102 lines (77 loc) · 3.05 KB
/
config_template.ini
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
producer-name = [PRODUCER_NAME]
signature-provider = [PRODUCER_PUBLIC_KEY]=KEY:[PRODUCER_PRIVATE_KEY]
http-server-address = [SERVER_ADDRESS]:8888
p2p-listen-endpoint = 0.0.0.0:9876
p2p-server-address = [SERVER_ADDRESS]:9876
chain-state-db-size-mb = 16384
reversible-blocks-db-size-mb = 1024
contracts-console = true
p2p-max-nodes-per-host = 100
chain-threads = 8
http-threads = 6
# eosio2.0
http-max-response-time-ms = 1000
#wasm-runtime = wabt
#Only!! for performance eosio 2.0+
eos-vm-oc-compile-threads = 4
eos-vm-oc-enable = 1
wasm-runtime = eos-vm-jit
#END
http-validate-host = false
verbose-http-errors = true
abi-serializer-max-time-ms = 2000
enable-account-queries = true #only for API node
#option from eosio 2.0.7
max-nonprivileged-inline-action-size = 4096
#produce-time-offset-us = 250000
last-block-time-offset-us = -300000
# Safely shut down node when free space
chain-state-db-guard-size-mb = 128
reversible-blocks-db-guard-size-mb = 2
access-control-allow-origin = *
access-control-allow-headers = Origin, X-Requested-With, Content-Type, Accept
# access-control-max-age =
# access-control-allow-credentials = false
# actor-whitelist =
# actor-blacklist =
# contract-whitelist =
# contract-blacklist =
# filter-on =
# History of EOS token transfers
# filter-on = eosio.token:transfer:
# Creation of tokens
# filter-on = eosio.token:issue:
# filter-on = eosio.token:create:
# SSL
# Filename with https private key in PEM format. Required for https (eosio::http_plugin)
# https-server-address =
# Filename with the certificate chain to present on https connections. PEM format. Required for https. (eosio::http_plugin)
# https-certificate-chain-file =
# Filename with https private key in PEM format. Required for https (eosio::http_plugin)
# https-private-key-file =
# State History (For 1.8.0-rc1+ add to start params --disable-replay-opts )
# plugin = eosio::state_history_plugin
# state-history-dir = state-history
# trace-history = true
# chain-state-history = true
# state-history-endpoint = 127.0.0.1:8080
# debug mode info (https://github.com/EOSIO/eos/pull/7298)
# #trace-history-debug-mode
allowed-connection = any
max-clients = 150
connection-cleanup-period = 30
#network-version-match = 0
sync-fetch-span = 2000
enable-stale-production = false
pause-on-startup = false
max-irreversible-block-age = -1
txn-reference-block-lag = 0
plugin = eosio::producer_plugin
plugin = eosio::producer_api_plugin
plugin = eosio::chain_plugin
plugin = eosio::chain_api_plugin
# plugin = eosio::history_plugin
# plugin = eosio::history_api_plugin
p2p-peer-address = 188.165.193.139:9876 # eosio original node
p2p-peer-address = 188.165.193.139:9875 # producer1 - node1
p2p-peer-address = 188.165.193.139:9874 # producer2 - node2