From ad1f32b84e3f4e3cfca57c8cf9e3075ea50ec1e5 Mon Sep 17 00:00:00 2001
From: liangping <18786721@qq.com>
Date: Fri, 25 Mar 2022 21:41:54 +0800
Subject: [PATCH] finish state sync
---
src/chains/mainnet/bitcanna.json | 4 ++--
src/chains/mainnet/bitsong.json | 2 +-
src/chains/mainnet/cosmos.json | 2 +-
src/chains/mainnet/desmos.json | 4 ++--
src/views/StateSync.vue | 8 ++++----
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/chains/mainnet/bitcanna.json b/src/chains/mainnet/bitcanna.json
index 66567ec0..f50da3ad 100644
--- a/src/chains/mainnet/bitcanna.json
+++ b/src/chains/mainnet/bitcanna.json
@@ -2,8 +2,8 @@
"chain_name": "bitcanna",
"coingecko": "bitcanna",
"api":"https://lcd.bitcanna.io",
- "rpc": ["https://rpc.bitcanna.io:443","https://rpc.bitcanna.ezstaking.io:443"],
- "snapshot_provider": "",
+ "rpc": ["http://bitcanna.rpc.ping.pub:26657", "https://rpc.bitcanna.io:443","https://rpc.bitcanna.ezstaking.io:443"],
+ "snapshot_provider": "29edc55748bc341224f711a05cb0a9f6d73b4da3@bitcanna.rpc.ping.pub:26656",
"sdk_version": "0.44.2",
"coin_type": "118",
"min_tx_fee": "8000",
diff --git a/src/chains/mainnet/bitsong.json b/src/chains/mainnet/bitsong.json
index eb9afdf3..50c49b50 100644
--- a/src/chains/mainnet/bitsong.json
+++ b/src/chains/mainnet/bitsong.json
@@ -3,7 +3,7 @@
"coingecko": "bitsong",
"api": "https://lcd.explorebitsong.com",
"rpc": ["https://rpc-bitsong.itastakers.com:443","https://rpc-bitsong.itastakers.com:443"],
- "snapshot_provider": "",
+ "snapshot_provider": "8dbeefed0d1e39475328d3850226063208bb8ee4@bitsong.rpc.ping.pub:26656",
"addr_prefix": "bitsong",
"coin_type": "639",
"min_tx_fee": "3500",
diff --git a/src/chains/mainnet/cosmos.json b/src/chains/mainnet/cosmos.json
index a475d065..25b5e795 100644
--- a/src/chains/mainnet/cosmos.json
+++ b/src/chains/mainnet/cosmos.json
@@ -3,7 +3,7 @@
"coingecko": "cosmos",
"api": ["https://cosmos.api.ping.pub", "https://lcd-cosmoshub.blockapsis.com"],
"rpc": ["http://cosmos.rpc.ping.pub:26657", "https://cosmoshub.validator.network:443"],
- "snapshot_provider": "d2008adf6d12f1a1951cce2b5ef531fbecb81895@cosmos.rpc.ping.pub:26656",
+ "snapshot_provider": "d2008adf6d12f1a1951cce2b5ef531fbecb81895@cosmos.rpc.ping.pub:26656,27483c10217c542908a899024ed26ddfefeee9b9@cosmos.rpc.skystarcapital.xyz:26656",
"sdk_version": "0.44.3",
"coin_type": "118",
"min_tx_fee": "800",
diff --git a/src/chains/mainnet/desmos.json b/src/chains/mainnet/desmos.json
index 433f185f..0a1249f6 100644
--- a/src/chains/mainnet/desmos.json
+++ b/src/chains/mainnet/desmos.json
@@ -1,9 +1,9 @@
{
"chain_name": "desmos",
"coingecko": "",
- "api": "https://api.mainnet.desmos.network",
+ "api": ["https://api.mainnet.desmos.network", "https://desmos.api.ping.pub"],
"rpc": ["https://rpc.mainnet.desmos.network:443", "https://rpc.mainnet.desmos.network:443"],
- "snapshot_provider": "",
+ "snapshot_provider": "05d15d195cd40a1d20f937a87a63fbb3ec1a4b80@desmos.rpc.ping.pub:26657",
"sdk_version": "0.42.0",
"coin_type": "852",
"min_tx_fee": "3000",
diff --git a/src/views/StateSync.vue b/src/views/StateSync.vue
index 0ed8bc89..f72d73f1 100644
--- a/src/views/StateSync.vue
+++ b/src/views/StateSync.vue
@@ -11,7 +11,7 @@
Click here for more infomation.
2. How to use it?
- We can configure Tendermint to use state sync in $DAEMON_HOME/config/config.toml
, then start your daemon.
+ We can configure Tendermint to use state sync in $DAEMON_HOME/config/config.toml
, then start daemon.
$DAEMON_HOME/config/config.toml
.
+ To reduce the time of snapshot discovering, we can add providers into persistent_peers in $DAEMON_HOME/config/config.toml
.
$DAEMON_HOME/config/app.toml
,
+ To make state sync works, we can enable snapshot in $DAEMON_HOME/config/app.toml
and don't forget to share your snapshot server Here