From 3bbef08e06484ac58d855fd41022cbc8dd818607 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Fri, 26 Aug 2022 19:59:06 +0800 Subject: [PATCH] add commands --- src/views/StateSync.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/StateSync.vue b/src/views/StateSync.vue index e0c0dc7c..ea0b5d8a 100644 --- a/src/views/StateSync.vue +++ b/src/views/StateSync.vue @@ -35,8 +35,8 @@ class="my-1" @change="check()" /> - 3. Start the daemon
- If you are resetting node, run unsafe-reset-all before you start the daemon. + 3. Start the daemon: {{ daemon }} start
+ If you are resetting node, run {{ daemon }} unsafe-reset-all or {{ daemon }} tendermint unsafe-reset-all --home ~/.HOME before you start the daemon. @@ -97,6 +97,7 @@ export default { error: [], state: '', valid: false, + daemon: '', snapshot: `[state-sync] # snapshot-interval specifies the block interval at which local state sync snapshots are # taken (0 to disable). Must be a multiple of pruning-keep-every. @@ -125,6 +126,8 @@ trust_period = "168h" # 2/3 of unbonding time` } this.$http.getNodeInfo().then(res => { this.version = res.application_version.version + console.log(res) + this.daemon = res.application_version.app_name }) }) },