HIVE Nodes Checker - version 0.0.6
HIVE Nodes Checker is a package I released last week that allows you to check the availability and efficiency of HIVE nodes (servers that are used to query the blockchain).
My first observation is that the npm download counter looks as accurate as the Steem view counter was, 117 downloads in the 1st week? If this were true, I would go and play the lottery right away, I'm sure I will win. 🤣
But this is not the topic of the day, after a week I made some minor additions that I will explain here.
HIVE Nodes Checker est un package que j'ai publié le 2 janvier et qui permet de vérifier la dispo et l'efficience des nodes HIVE (serveurs utilisés pour interroger la blockchain).
Ma première remarque est que le compteur de téléchargements npm à l'air aussi fiable que ce qu'était le compteur de vu Steem car 117 téléchargement la 1ère semaine si c'était vrai j'irais tout de suite jouer au Loto. 🤣
Mais revenons au sujet du jour qui est les quelques ajouts mineurs que je vais expliquer ici.
Message subscription
nb_degraded
A new counter nb_degraded is returned in addition to nb_ok and nb_error allowing a better analysis of the efficiency of nodes.
Un nouveau compteurs nb_degraded est renvoyé en plus de nb_ok et nb_error permettant un calcul plus fin de l'efficience.
message.unsubscribe()
Unsubscribe manually from the Observable (RxJS).
Se désabonner manuellement de l'Observable (RxJS).
Usage
/** Unsubscribe results */
nodesChecker.message.unsubscribe()
})
Params
Reset
reset is a new parameter to reset the nb_ok, nb_error, and nb_degraded counters after a specified number of check rounds.
reset qui permet de réinitaliser les compteurs nb_ok, nb_error et nb_degraded après un nombre spécifié de cycle de vérification.
Usage
import { HiveNodesChecker } from '@mintrawa/hive-nodes-checker'
/** HIVE nodes url to check */
const nodes = [
"https://api.hive.blog",
...
]
/** Options */
const options = {
full: true,
interval: 3600, // 3600 seconds = 1 hour
reset: 24 // every 24 tests (1 time per day)
}
/** Init the checker */
const nodesChecker = new HiveNodesChecker(nodes, options)
Functions
restart()
The restart() function restarts the checking process using the same params.
Permet de redémarrer la vérification en utilisant les mêmes params.
Usage
/** Restart the checker */
nodesChecker.restart()
stop()
The stop() function stops the execution of the checking process. Can be started again later with the start() function (use the same params).
Permet de stopper l'execution de la vérification et de la reprendre plus tard avec la fonction start() (utilise les params fournis lors de l'initialisation).
Usage
/** Stop the checker */
nodesChecker.stop()
Github & NPM
https://github.com/Mintrawa/hive-nodes-checker
https://www.npmjs.com/package/@mintrawa/hive-nodes-checker
I don't think I'll make any other changes for the moment and resume my beta tests of Hive Authentication Service with HIVE Keychain Wallet.
Je ne pense pas faire d'autres modifications pour le moment et reprendre mes tests de la beta du Hive Authentication Service avec le HIVE Keychain Wallet.
Desktop
Smartphone
My HIVE witness servers
| CPU:Intel Xeon E3-1270v6 | CPU: Intel Xeon E3-1230v6 |
| 4 Cores/8 Threads 3.5 GHz/3.9 GHz | 4 Cores/8 Threads 3.8 GHz/4.2 GHz |
| RAM: 32GB DDR4 ECC 2133MHz | RAM: 32GB DDR4 ECC 2133MHz |
| HDD: 1 To SSD NVMe | HDD: 1 To SSD NVMe |
Vote for my HIVE witness: click here (via HiveSigner)
Leave HIVE Nodes Checker - version 0.0.6 to:
Read more #hive-196396 posts
Best Posts From Mintrawa | hive-fr.com
We have not curated any of mintrawa's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Mintrawa | hive-fr.com
- A French expat in a Thai Hospital - fr/en
- 🐉 Nouvel An Chinois 🐲 & Patong Beach 🏖️
- Japan: ⛩️🌸 A trip like no other
- [IA] Créer une video à partir d'une image et d'un texte
- [WITNESS] Hive HardFork 26 - Preparation
- Chill & Relax en Thailande? (fr/en)
- Accueil & Bienvenue sur le HIVE FR
- HIVE username Regex | Round 2
- HIVE username Regex checker
- HIVE vote expiration, Why? Pourquoi??
- HIVE post ➡️ Tweet & Posh Token - fr/en
- Hang Out in Phuket (fr/en)
- Stream IRL: Smartphone ➡️ SRT (h265) ➡️ OBS ➡️ Twitch
- Khao Rang Viewpoint
- Festival les lumières magiques de la mer d'Andaman
- 🐝 Les NEWS 📰 en Bref
- 🏍️ Grosses motos & Vieilles bagnoles 🚘 fr/en
- [HIVE witness] News + Twitch stream + Flashback
- Hive Authentication Client (HAC)
- HIVE Nodes Checker - version 0.0.6