Skip to content

Instantly share code, notes, and snippets.

package main
import (
"encoding/json"
"fmt"
"io"
"net/http"
"strings"
"time"
)
package main
import (
"encoding/json"
"fmt"
"io"
"math"
"net/http"
"strconv"
)
@ryan-u410
ryan-u410 / app.toml.diff
Created October 14, 2022 19:53
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.
@@ -10,15 +10,14 @@
# specified in this config (e.g. 0.25token1;0.0001token2).
minimum-gas-prices = ""
-# default: the last 100 states are kept in addition to every 500th state; pruning at 10 block intervals
+# default: the last 362880 states are kept, pruning at 10 block intervals
# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
-# everything: all saved states will be deleted, storing only the current state; pruning at 10 block intervals
-# custom: allow pruning options to be manually specified through 'pruning-keep-recent', 'pruning-keep-every', and 'pruning-interval'
+# everything: 2 latest states will be kept; pruning at 10 block intervals.