forked from telosnetwork/node-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
65 lines (52 loc) · 2.36 KB
/
config.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
# THIS IS YOUR API SERVER HTTP PORT, PUT IT BEHIND NGINX OR HAPROXY WITH SSL
http-server-address = 0.0.0.0:8888
# THIS IS YOUR P2P PORT AND IS ONLY TCP, DO NOT TRY TO PUT SSL IN FRONT OR USE AN HTTP PROXY WITH IT
p2p-listen-endpoint = 0.0.0.0:9876
# SET A LOGICAL NAME FOR THIS NODE
agent-name = "Name that peers will see this node as"
# Directory configuration if you are splitting state/blocks/ship/trace...
# note that state currently is not configurable and will be relative to the data-dir
#blocks-dir=
#state-history-dir=
#trace-dir=
wasm-runtime = eos-vm-jit
# DO NOT ENABLE THESE ON A PRODUCER, they may be handy for making replays faster though!
#eos-vm-oc-compile-threads = 4
#eos-vm-oc-enable = 1
# This can be set as low as the configured RAM on the network,
# but should not be higher than the configured RAM on your server
chain-state-db-size-mb = 65536
contracts-console = true
access-control-allow-origin = *
access-control-allow-headers = *
verbose-http-errors = true
http-validate-host = false
abi-serializer-max-time-ms = 100
http-max-response-time-ms = 50
#this must be a high number behind a proxy, as all connections appear to come from the proxy host
p2p-max-nodes-per-host = 100
# These settings force last block produced to be released 300ms early to have time to be transfered to next producer in schedule; either option may be specified
last-block-time-offset-us = -300000
last-block-cpu-effort-percent = 20
# 20% of 500ms blocktime = 200ms; therefore block released 300ms early
# UNCOMMENT AND SET PROPER VALUES FOR PRODUCER NODE
producer-name = eosio
signature-provider = EOS4xwQhNFprQeKjpkeSSxQPXF5KZT7Lvm8vGfPL4AuTLpMMXSADy=KEY:5JeDBVx1UBym2m268wwu3xr6h5z6sLiSMRbUKKGpSUV9HxvMvKA
# PLUGINS
plugin = eosio::http_plugin
plugin = eosio::chain_plugin
plugin = eosio::chain_api_plugin
#plugin = eosio::history_api_plugin
# DO NOT ENABLE NET OR PRODUCER API PLUGINS ON THE PUBLIC INTERNET
# ONLY RUN IF YOU'RE BEHIND A PROXY THAT IS FILTERING THESE PATHS: /v1/producer/ /v1/net/
plugin = eosio::net_api_plugin
plugin = eosio::producer_api_plugin
plugin = eosio::net_plugin
plugin = eosio::producer_plugin
#IF YOU ARE RUNNING STATE HISTORY FOR HYPERION, ENABLE AND CONFIGURE THE BELOW
plugin = eosio::state_history_plugin
state-history-endpoint = 0.0.0.0:29999
trace-history = true
chain-state-history = true
trace-history-debug-mode = true
state-history-dir = state-history