Skip to content

Instantly share code, notes, and snippets.

@ryan-u410
Created October 14, 2022 19:53
Show Gist options
  • Save ryan-u410/431824b09879d697f01c3f33ce51625b to your computer and use it in GitHub Desktop.
Save ryan-u410/431824b09879d697f01c3f33ce51625b to your computer and use it in GitHub Desktop.
diff between app.toml and config.toml from gaiad v7.0.3 to v7.1.0
diff --git a/node/config/app.toml b/node/config/app.toml
index 60104fd..4b482ea 100644
--- a/node/config/app.toml
+++ b/node/config/app.toml
@@ -64,6 +64,10 @@ index-events = []
# Default cache size is 50mb.
iavl-cache-size = 781250
+# IAVLDisableFastNode enables or disables the fast node feature of IAVL.
+# Default is true.
+iavl-disable-fastnode = true
+
###############################################################################
### Telemetry Configuration ###
###############################################################################
diff --git a/node/config/config.toml b/node/config/config.toml
index 8763ff2..ca0b94e 100644
--- a/node/config/config.toml
+++ b/node/config/config.toml
@@ -272,6 +272,11 @@ dial_timeout = "3s"
#######################################################
[mempool]
+# Mempool version to use:
+# 1) "v0" - (default) FIFO mempool.
+# 2) "v1" - prioritized mempool.
+version = "v0"
+
recheck = true
broadcast = true
wal_dir = ""
@@ -301,6 +306,22 @@ max_tx_bytes = 1048576
# XXX: Unused due to https://github.com/tendermint/tendermint/issues/5796
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 ###
#######################################################
@@ -389,6 +410,16 @@ create_empty_blocks_interval = "0s"
peer_gossip_sleep_duration = "100ms"
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 ###
#######################################################
@@ -403,8 +434,14 @@ peer_query_maj23_sleep_duration = "2s"
# 1) "null"
# 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.
+# 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"
+# The PostgreSQL connection configuration, the connection format:
+# postgresql://<user>:<password>@<host>:<port>/<db>?<opts>
+psql-conn = ""
+
#######################################################
### Instrumentation Configuration Options ###
#######################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment