View main.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io" | |
"net/http" | |
"strings" | |
"time" | |
) |
View main.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io" | |
"math" | |
"net/http" | |
"strconv" | |
) |
View app.toml.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
View app.toml.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -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. |