finish state sync

This commit is contained in:
liangping 2022-03-25 21:41:54 +08:00
parent 630470cc68
commit ad1f32b84e
5 changed files with 10 additions and 10 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -11,7 +11,7 @@
Click <a href="https://blog.cosmos.network/cosmos-sdk-state-sync-guide-99e4cf43be2f">here</a> for more infomation.
<br><br>
<b class="mt-1">2. How to use it? </b><br>
We can configure Tendermint to use state sync in <code>$DAEMON_HOME/config/config.toml</code>, then start your daemon.
We can configure Tendermint to use state sync in <code>$DAEMON_HOME/config/config.toml</code>, then start daemon.
<ul class="mt-1">
<li
v-for="e in error"
@ -32,7 +32,7 @@
@change="check()"
/>
<b class="mt-1">3. Snapshot Providers </b><br>
To reduce snapshot discovering time, we can add providers into persistent_peers in <code>$DAEMON_HOME/config/config.toml</code>.
To reduce the time of snapshot discovering, we can add providers into persistent_peers in <code>$DAEMON_HOME/config/config.toml</code>.
<b-form-textarea
id="provider"
v-model="providers"
@ -48,7 +48,7 @@
<b-card-title>
Enable Snapshot For State Sync
</b-card-title>
To make state sync works, We need at least 2 available RPC servers which enabled snapshot. You can configure in <code>$DAEMON_HOME/config/app.toml</code>,
To make state sync works, we can enable snapshot in <code>$DAEMON_HOME/config/app.toml</code>
and don't forget to share your snapshot server <a href="https://github.com/ping-pub/explorer/discussions">Here</a>
<b-form-textarea
id="snapshot"
@ -80,7 +80,7 @@ export default {
servers = rpc.join(',')
}
// eslint-disable-next-line camelcase
const providers = snapshot_provider ? `# Comma separated list of nodes to keep persistent connections to \npersistent_peers = "${snapshot_provider}" ` : 'Currently, NO available providers'
const providers = snapshot_provider ? `# Comma separated list of nodes to keep persistent connections to \npersistent_peers = "${snapshot_provider}" ` : 'OMG NO available providers'
return {
snapshot_provider,
servers,