feat: statesync

This commit is contained in:
Alisa | Side.one 2023-05-12 20:33:51 +08:00
parent f6d07b7515
commit e7fd304aa9

View File

@ -39,9 +39,7 @@ onMounted(() => {
<template> <template>
<div> <div>
<div class="bg-base-100 px-4 pt-3 pb-4 rounded mb-4 shadow"> <div class="bg-base-100 px-4 pt-3 pb-4 rounded mb-4 shadow">
<h2 class="card-title truncate mb-2"> <h2 class="card-title truncate mb-2">What's State Sync?</h2>
What's State Sync?
</h2>
<div class="text-sm"> <div class="text-sm">
The Tendermint Core 0.34 release includes support for state sync, which 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 allows a new node to join a network by fetching a snapshot of the
@ -58,14 +56,17 @@ onMounted(() => {
</div> </div>
<div class="bg-base-100 px-4 pt-3 pb-4 rounded mb-4 shadow"> <div class="bg-base-100 px-4 pt-3 pb-4 rounded mb-4 shadow">
<h2 class="card-title truncate mb-2">Starting New Node From State Sync</h2> <h2 class="card-title truncate mb-2">
Starting New Node From State Sync
</h2>
<div class="text-sm"> <div class="text-sm">
1. Install Binary ({{ appName }} Version: 1. Install Binary ({{ appName }} Version:
{{ nodeInfo.application_version?.version || '' }}) {{ nodeInfo.application_version?.version || '' }})
<br /> <br />
We need to install the binary first and make sure that the version is We need to install the binary first and make sure that the version is
the one currently in use on mainnet. the one currently in use on mainnet.
<br /> <br /> <br />
<br />
2. Enable State Sync<br /> 2. Enable State Sync<br />
We can configure Tendermint to use state sync in We can configure Tendermint to use state sync in
$DAEMON_HOME/config/config.toml. $DAEMON_HOME/config/config.toml.