From c00d5d61a93145d952f794cc4e30686868336fc7 Mon Sep 17 00:00:00 2001
From: liangping <18786721@qq.com>
Date: Fri, 1 Apr 2022 08:25:23 +0800
Subject: [PATCH] add instructions
---
src/views/StateSync.vue | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/src/views/StateSync.vue b/src/views/StateSync.vue
index acf1e5d5..b6584c7d 100644
--- a/src/views/StateSync.vue
+++ b/src/views/StateSync.vue
@@ -2,15 +2,25 @@
- Starting New Node From State Sync
+ What's State Sync?
+
+ The Tendermint Core 0.34 release includes support for state sync, which allows a new node to join a network by fetching a snapshot of the application state at a recent height instead of fetching and replaying all historical blocks. This can reduce the time needed to sync with the network from days to minutes.
+ Click here for more infomation.
+
+
+
+ Starting New Node From State Sync
+
WIP
- 1. What's State Sync?
- The Tendermint Core 0.34 release includes support for state sync, which allows a new node to join a network by fetching a snapshot of the application state at a recent height instead of fetching and replaying all historical blocks. This can reduce the time needed to sync with the network from days to minutes.
- Click here for more infomation.
+ 1. Install Binary
+ We need to install the binary first and make sure that the version is the one currently in use on mainnet.
- 2. How to use it?
+ 2. Enable State Sync
We can configure Tendermint to use state sync in $DAEMON_HOME/config/config.toml
, then start daemon.
- 3. (Optional) Adding Snapshot Providers
+ 3. (Optional) Add Snapshot Providers
To reduce the time of snapshot discovering, we can add providers into persistent_peers in $DAEMON_HOME/config/config.toml
.