· 6 years ago · Sep 03, 2019, 06:54 AM
1# This is a TOML config file.
2# For more information, see https://github.com/toml-lang/toml
3
4##### main base config options #####
5
6# A custom human readable name for this node
7moniker = "instanse-12"
8
9# Address to listen for GUI connections
10gui_listen_addr = ":3000"
11
12# Address to listen for API connections
13api_listen_addr = "tcp://0.0.0.0:8841"
14
15# Sets node to be in validator mode. Disables API, events, history of blocks, indexes, etc.
16validator_mode = false
17
18# If set to true node will save old states. This can be useful for applications which need all blockchain history data.
19keep_state_history = false
20
21# Limit for simultaneous requests to API
22api_simultaneous_requests = 100
23
24# If this node is many blocks behind the tip of the chain, FastSync
25# allows them to catchup quickly by downloading blocks in parallel
26# and verifying their commits
27fast_sync = true
28
29# Database backend: leveldb | memdb
30db_backend = "cleveldb"
31
32# Database directory
33db_path = "tmdata"
34
35# Output level for logging, including package level options
36log_level = "consensus:info,main:info,blockchain:info,state:info,*:error"
37
38# Output format: 'plain' (colored text) or 'json'
39log_format = "json"
40
41# Path to file for logs, "stdout" by default
42log_path = "stdout"
43
44##### additional base config options #####
45
46# Path to the JSON file containing the private key to use as a validator in the consensus protocol
47priv_validator_file = "config/priv_validator.json"
48priv_validator_state_file = "config/priv_validator_state.json"
49
50# Path to the JSON file containing the private key to use for node authentication in the p2p protocol
51node_key_file = "config/node_key.json"
52
53# TCP or UNIX socket address for the profiling server to listen on
54prof_laddr = ""
55
56##### advanced configuration options #####
57
58##### rpc server configuration options #####
59[rpc]
60
61# TCP or UNIX socket address for the RPC server to listen on
62laddr = "tcp://0.0.0.0:26657"
63
64# TCP or UNIX socket address for the gRPC server to listen on
65# NOTE: This server only supports /broadcast_tx_commit
66grpc_laddr = ""
67
68# Maximum number of simultaneous connections.
69# Does not include RPC (HTTP&WebSocket) connections. See max_open_connections
70# If you want to accept more significant number than the default, make sure
71# you increase your OS limits.
72# 0 - unlimited.
73grpc_max_open_connections = 900
74
75# Activate unsafe RPC commands like /dial_seeds and /unsafe_flush_mempool
76unsafe = false
77
78# Maximum number of simultaneous connections (including WebSocket).
79# Does not include gRPC connections. See grpc_max_open_connections
80# If you want to accept more significant number than the default, make sure
81# you increase your OS limits.
82# 0 - unlimited.
83max_open_connections = 900
84
85##### peer to peer configuration options #####
86[p2p]
87allow_duplicate_ip = true
88
89# Address to listen for incoming connections
90laddr = "tcp://0.0.0.0:26656"
91
92# Address to advertise to peers for them to dial
93# If empty, will use the same port as the laddr,
94# and will introspect on the listener or use UPnP
95# to figure out the address.
96external_address = ""
97
98
99# Comma separated list of seed nodes to connect to
100seeds = "647e32df3b9c54809b5aca2877d9ba60900bc2d9@minter-node-1.testnet.minter.network:26656,d20522aa7ba4af8139749c5e724063c4ba18c58b@minter-node-2.testnet.minter.network:26656,249c62818bf4601605a65b5adc35278236bd5312@minter-node-3.testnet.minter.network:26656,b698b07f13f2210dfc82967bfa2a127d1cdfdc54@minter-node-4.testnet.minter.network:26656"
101# Comma separated list of nodes to keep persistent connections to
102persistent_peers = "*********************************************************************"
103
104# UPNP port forwarding
105upnp = false
106
107# Path to address book
108addr_book_file = "config/addrbook.json"
109
110# Set true for strict address routability rules
111addr_book_strict = true
112
113# Time to wait before flushing messages out on the connection, in ms
114flush_throttle_timeout = "10ms"
115
116# Maximum number of inbound peers
117max_num_inbound_peers = 40
118
119# Maximum number of outbound peers to connect to, excluding persistent peers
120max_num_outbound_peers = 40
121
122# Maximum size of a message packet payload, in bytes
123max_packet_msg_payload_size = 1024
124
125# Rate at which packets can be sent, in bytes/second
126send_rate = 15360000
127
128# Rate at which packets can be received, in bytes/second
129recv_rate = 15360000
130
131# Set true to enable the peer-exchange reactor
132pex = true
133
134# Seed mode, in which node constantly crawls the network and looks for
135# peers. If another node asks it for addresses, it responds and disconnects.
136#
137# Does not work if the peer-exchange reactor is disabled.
138seed_mode = false
139
140# Comma separated list of peer IDs to keep private (will not be gossiped to other peers)
141#Managed by salt
142private_peer_ids = "*********************************************************************"
143
144##### mempool configuration options #####
145[mempool]
146
147broadcast = true
148wal_dir = ""
149
150# size of the mempool
151size = 10000
152
153# size of the cache (used to filter transactions we saw earlier)
154cache_size = 100000
155
156##### instrumentation configuration options #####
157[instrumentation]
158
159# When true, Prometheus metrics are served under /metrics on
160# PrometheusListenAddr.
161# Check out the documentation for the list of available metrics.
162prometheus = false
163
164# Address to listen for Prometheus collector(s) connections
165prometheus_listen_addr = ":26660"
166
167# Maximum number of simultaneous connections.
168# If you want to accept more significant number than the default, make sure
169# you increase your OS limits.
170# 0 - unlimited.
171max_open_connections = 3
172
173# Instrumentation namespace
174namespace = "minter"