|
@@ -15,7 +15,7 @@
|
|
|
proxy_app = "tcp://127.0.0.1:26658"
|
|
proxy_app = "tcp://127.0.0.1:26658"
|
|
|
|
|
|
|
|
# A custom human readable name for this node
|
|
# A custom human readable name for this node
|
|
|
-moniker = "second_validator"
|
|
|
|
|
|
|
+moniker = "wormchain-0"
|
|
|
|
|
|
|
|
# If this node is many blocks behind the tip of the chain, FastSync
|
|
# If this node is many blocks behind the tip of the chain, FastSync
|
|
|
# allows them to catchup quickly by downloading blocks in parallel
|
|
# allows them to catchup quickly by downloading blocks in parallel
|
|
@@ -44,10 +44,10 @@ fast_sync = true
|
|
|
db_backend = "goleveldb"
|
|
db_backend = "goleveldb"
|
|
|
|
|
|
|
|
# Database directory
|
|
# Database directory
|
|
|
-db_dir = "../../build/data"
|
|
|
|
|
|
|
+db_dir = "data"
|
|
|
|
|
|
|
|
# Output level for logging, including package level options
|
|
# Output level for logging, including package level options
|
|
|
-log_level = "warn"
|
|
|
|
|
|
|
+log_level = "debug"
|
|
|
|
|
|
|
|
# Output format: 'plain' (colored text) or 'json'
|
|
# Output format: 'plain' (colored text) or 'json'
|
|
|
log_format = "plain"
|
|
log_format = "plain"
|
|
@@ -55,13 +55,13 @@ log_format = "plain"
|
|
|
##### additional base config options #####
|
|
##### additional base config options #####
|
|
|
|
|
|
|
|
# Path to the JSON file containing the initial validator set and other meta data
|
|
# Path to the JSON file containing the initial validator set and other meta data
|
|
|
-genesis_file = "../../build/config/genesis.json"
|
|
|
|
|
|
|
+genesis_file = "config/genesis.json"
|
|
|
|
|
|
|
|
# Path to the JSON file containing the private key to use as a validator in the consensus protocol
|
|
# Path to the JSON file containing the private key to use as a validator in the consensus protocol
|
|
|
priv_validator_key_file = "config/priv_validator_key.json"
|
|
priv_validator_key_file = "config/priv_validator_key.json"
|
|
|
|
|
|
|
|
# Path to the JSON file containing the last sign state of a validator
|
|
# Path to the JSON file containing the last sign state of a validator
|
|
|
-priv_validator_state_file = "../../build/data/priv_validator_state.json"
|
|
|
|
|
|
|
+priv_validator_state_file = "data/priv_validator_state.json"
|
|
|
|
|
|
|
|
# TCP or UNIX socket address for Tendermint to listen on for
|
|
# TCP or UNIX socket address for Tendermint to listen on for
|
|
|
# connections from an external PrivValidator process
|
|
# connections from an external PrivValidator process
|
|
@@ -93,7 +93,7 @@ laddr = "tcp://0.0.0.0:26657"
|
|
|
# A list of origins a cross-domain request can be executed from
|
|
# A list of origins a cross-domain request can be executed from
|
|
|
# Default value '[]' disables cors support
|
|
# Default value '[]' disables cors support
|
|
|
# Use '["*"]' to allow any origin
|
|
# Use '["*"]' to allow any origin
|
|
|
-cors_allowed_origins = ["*", ]
|
|
|
|
|
|
|
+cors_allowed_origins = ["*"]
|
|
|
|
|
|
|
|
# A list of methods the client is allowed to use with cross-domain requests
|
|
# A list of methods the client is allowed to use with cross-domain requests
|
|
|
cors_allowed_methods = ["HEAD", "GET", "POST", ]
|
|
cors_allowed_methods = ["HEAD", "GET", "POST", ]
|
|
@@ -136,6 +136,33 @@ max_subscription_clients = 100
|
|
|
# the estimated # maximum number of broadcast_tx_commit calls per block.
|
|
# the estimated # maximum number of broadcast_tx_commit calls per block.
|
|
|
max_subscriptions_per_client = 5
|
|
max_subscriptions_per_client = 5
|
|
|
|
|
|
|
|
|
|
+# Experimental parameter to specify the maximum number of events a node will
|
|
|
|
|
+# buffer, per subscription, before returning an error and closing the
|
|
|
|
|
+# subscription. Must be set to at least 100, but higher values will accommodate
|
|
|
|
|
+# higher event throughput rates (and will use more memory).
|
|
|
|
|
+experimental_subscription_buffer_size = 200
|
|
|
|
|
+
|
|
|
|
|
+# Experimental parameter to specify the maximum number of RPC responses that
|
|
|
|
|
+# can be buffered per WebSocket client. If clients cannot read from the
|
|
|
|
|
+# WebSocket endpoint fast enough, they will be disconnected, so increasing this
|
|
|
|
|
+# parameter may reduce the chances of them being disconnected (but will cause
|
|
|
|
|
+# the node to use more memory).
|
|
|
|
|
+#
|
|
|
|
|
+# Must be at least the same as "experimental_subscription_buffer_size",
|
|
|
|
|
+# otherwise connections could be dropped unnecessarily. This value should
|
|
|
|
|
+# ideally be somewhat higher than "experimental_subscription_buffer_size" to
|
|
|
|
|
+# accommodate non-subscription-related RPC responses.
|
|
|
|
|
+experimental_websocket_write_buffer_size = 200
|
|
|
|
|
+
|
|
|
|
|
+# If a WebSocket client cannot read fast enough, at present we may
|
|
|
|
|
+# silently drop events instead of generating an error or disconnecting the
|
|
|
|
|
+# client.
|
|
|
|
|
+#
|
|
|
|
|
+# Enabling this experimental parameter will cause the WebSocket connection to
|
|
|
|
|
+# be closed instead if it cannot read fast enough, allowing for greater
|
|
|
|
|
+# predictability in subscription behaviour.
|
|
|
|
|
+experimental_close_on_slow_client = false
|
|
|
|
|
+
|
|
|
# How long to wait for a tx to be committed during /broadcast_tx_commit.
|
|
# How long to wait for a tx to be committed during /broadcast_tx_commit.
|
|
|
# WARNING: Using a value larger than 10s will result in increasing the
|
|
# WARNING: Using a value larger than 10s will result in increasing the
|
|
|
# global HTTP write timeout, which applies to all connections and endpoints.
|
|
# global HTTP write timeout, which applies to all connections and endpoints.
|
|
@@ -185,17 +212,17 @@ external_address = ""
|
|
|
seeds = ""
|
|
seeds = ""
|
|
|
|
|
|
|
|
# Comma separated list of nodes to keep persistent connections to
|
|
# Comma separated list of nodes to keep persistent connections to
|
|
|
-persistent_peers = "c3f474217c930af3a4e998c4e52a57cee188ff43@guardian-validator:26656"
|
|
|
|
|
|
|
+persistent_peers = ""
|
|
|
|
|
|
|
|
# UPNP port forwarding
|
|
# UPNP port forwarding
|
|
|
upnp = false
|
|
upnp = false
|
|
|
|
|
|
|
|
# Path to address book
|
|
# Path to address book
|
|
|
-addr_book_file = "../../build/config/addrbook.json"
|
|
|
|
|
|
|
+addr_book_file = "config/addrbook.json"
|
|
|
|
|
|
|
|
# Set true for strict address routability rules
|
|
# Set true for strict address routability rules
|
|
|
# Set false for private or local networks
|
|
# Set false for private or local networks
|
|
|
-addr_book_strict = true
|
|
|
|
|
|
|
+addr_book_strict = false
|
|
|
|
|
|
|
|
# Maximum number of inbound peers
|
|
# Maximum number of inbound peers
|
|
|
max_num_inbound_peers = 40
|
|
max_num_inbound_peers = 40
|
|
@@ -245,6 +272,11 @@ dial_timeout = "3s"
|
|
|
#######################################################
|
|
#######################################################
|
|
|
[mempool]
|
|
[mempool]
|
|
|
|
|
|
|
|
|
|
+# Mempool version to use:
|
|
|
|
|
+# 1) "v0" - (default) FIFO mempool.
|
|
|
|
|
+# 2) "v1" - prioritized mempool.
|
|
|
|
|
+version = "v0"
|
|
|
|
|
+
|
|
|
recheck = true
|
|
recheck = true
|
|
|
broadcast = true
|
|
broadcast = true
|
|
|
wal_dir = ""
|
|
wal_dir = ""
|
|
@@ -274,6 +306,22 @@ max_tx_bytes = 1048576
|
|
|
# XXX: Unused due to https://github.com/tendermint/tendermint/issues/5796
|
|
# XXX: Unused due to https://github.com/tendermint/tendermint/issues/5796
|
|
|
max_batch_bytes = 0
|
|
max_batch_bytes = 0
|
|
|
|
|
|
|
|
|
|
+# ttl-duration, if non-zero, defines the maximum amount of time a transaction
|
|
|
|
|
+# can exist for in the mempool.
|
|
|
|
|
+#
|
|
|
|
|
+# Note, if ttl-num-blocks is also defined, a transaction will be removed if it
|
|
|
|
|
+# has existed in the mempool at least ttl-num-blocks number of blocks or if it's
|
|
|
|
|
+# insertion time into the mempool is beyond ttl-duration.
|
|
|
|
|
+ttl-duration = "0s"
|
|
|
|
|
+
|
|
|
|
|
+# ttl-num-blocks, if non-zero, defines the maximum number of blocks a transaction
|
|
|
|
|
+# can exist for in the mempool.
|
|
|
|
|
+#
|
|
|
|
|
+# Note, if ttl-duration is also defined, a transaction will be removed if it
|
|
|
|
|
+# has existed in the mempool at least ttl-num-blocks number of blocks or if
|
|
|
|
|
+# it's insertion time into the mempool is beyond ttl-duration.
|
|
|
|
|
+ttl-num-blocks = 0
|
|
|
|
|
+
|
|
|
#######################################################
|
|
#######################################################
|
|
|
### State Sync Configuration Options ###
|
|
### State Sync Configuration Options ###
|
|
|
#######################################################
|
|
#######################################################
|
|
@@ -326,7 +374,7 @@ version = "v0"
|
|
|
#######################################################
|
|
#######################################################
|
|
|
[consensus]
|
|
[consensus]
|
|
|
|
|
|
|
|
-wal_file = "../../build/data/cs.wal/wal"
|
|
|
|
|
|
|
+wal_file = "data/cs.wal/wal"
|
|
|
|
|
|
|
|
# How long we wait for a proposal block before prevoting nil
|
|
# How long we wait for a proposal block before prevoting nil
|
|
|
timeout_propose = "1s"
|
|
timeout_propose = "1s"
|
|
@@ -362,6 +410,16 @@ create_empty_blocks_interval = "0s"
|
|
|
peer_gossip_sleep_duration = "100ms"
|
|
peer_gossip_sleep_duration = "100ms"
|
|
|
peer_query_maj23_sleep_duration = "2s"
|
|
peer_query_maj23_sleep_duration = "2s"
|
|
|
|
|
|
|
|
|
|
+#######################################################
|
|
|
|
|
+### Storage Configuration Options ###
|
|
|
|
|
+#######################################################
|
|
|
|
|
+
|
|
|
|
|
+# Set to true to discard ABCI responses from the state store, which can save a
|
|
|
|
|
+# considerable amount of disk space. Set to false to ensure ABCI responses are
|
|
|
|
|
+# persisted. ABCI responses are required for /block_results RPC queries, and to
|
|
|
|
|
+# reindex events in the command-line tool.
|
|
|
|
|
+discard_abci_responses = false
|
|
|
|
|
+
|
|
|
#######################################################
|
|
#######################################################
|
|
|
### Transaction Indexer Configuration Options ###
|
|
### Transaction Indexer Configuration Options ###
|
|
|
#######################################################
|
|
#######################################################
|
|
@@ -376,8 +434,14 @@ peer_query_maj23_sleep_duration = "2s"
|
|
|
# 1) "null"
|
|
# 1) "null"
|
|
|
# 2) "kv" (default) - the simplest possible indexer, backed by key-value storage (defaults to levelDB; see DBBackend).
|
|
# 2) "kv" (default) - the simplest possible indexer, backed by key-value storage (defaults to levelDB; see DBBackend).
|
|
|
# - When "kv" is chosen "tx.height" and "tx.hash" will always be indexed.
|
|
# - When "kv" is chosen "tx.height" and "tx.hash" will always be indexed.
|
|
|
|
|
+# 3) "psql" - the indexer services backed by PostgreSQL.
|
|
|
|
|
+# When "kv" or "psql" is chosen "tx.height" and "tx.hash" will always be indexed.
|
|
|
indexer = "kv"
|
|
indexer = "kv"
|
|
|
|
|
|
|
|
|
|
+# The PostgreSQL connection configuration, the connection format:
|
|
|
|
|
+# postgresql://<user>:<password>@<host>:<port>/<db>?<opts>
|
|
|
|
|
+psql-conn = ""
|
|
|
|
|
+
|
|
|
#######################################################
|
|
#######################################################
|
|
|
### Instrumentation Configuration Options ###
|
|
### Instrumentation Configuration Options ###
|
|
|
#######################################################
|
|
#######################################################
|