{
this.validators = res
})
+ this.$http.getSlashingSigningInfo().then(res => {
+ if (res.info) {
+ res.info.forEach(x => {
+ if (x.address) {
+ const hex = toHex(Bech32.decode(x.address).data).toUpperCase()
+ this.missing[hex] = x
+ }
+ })
+ }
+ })
this.initBlocks()
},
beforeDestroy() {
diff --git a/src/views/UptimeMyChainBlocks.vue b/src/views/UptimeMyChainBlocks.vue
index 8d9ff33b..ab0c3d64 100644
--- a/src/views/UptimeMyChainBlocks.vue
+++ b/src/views/UptimeMyChainBlocks.vue
@@ -23,14 +23,24 @@
sm="12"
class="text-truncate"
>
-
- {{ x.validator.moniker }}
-
+
+
+ {{ x.validator.moniker }}
+
+
+ {{ missing[x.address].missed_blocks_counter }}
+
+
{
+ if (res.info) {
+ res.info.forEach(x => {
+ if (x.address) {
+ const hex = toHex(Bech32.decode(x.address).data).toUpperCase()
+ this.missing[hex] = x
+ }
+ })
+ }
+ })
},
beforeDestroy() {
this.blocks = [] // clear running tasks if it is not finish
diff --git a/src/views/UptimeMyValidators.vue b/src/views/UptimeMyValidators.vue
index ddab0d7b..348eedf8 100644
--- a/src/views/UptimeMyValidators.vue
+++ b/src/views/UptimeMyValidators.vue
@@ -1,6 +1,6 @@
-
+
+
+
+ Note
+
+
+ There are two ways to monitor your valdiators:
+
Pin a validator on Uptime page.
+
Specify parameters like following: https://ping.pub/cosmos/uptime/my?validators={"sifchain":["FBADE9A30473BB9ED6DFA16BFB3838E028F33650"],"chain_name":["hexAddress"]}
+
+