Hive Engine net work status API : Get the health of Hive-Engine nodes
Hello everyone ! This week-end, I've made a small project which can help every HIVE project or token developer. It's not a big thing but it can be helpful. This one is the latest addition to HiveLive galaxy. Ladies & gentlemen, please welcome the Hive-Engine Network status.
Presentation
This tool is a small API for developer. I will check all the Hive-Engine nodes and returns the list, sorted by ping, of every node (with some data). It's really useful to improve the experience of your project.
It can allow you or your users to switch to the best Hive-Engine API node. No more bugs or freezes from the API node you use, just get the best node from Hive-Engine Network status and execute your query on the node.
At this time, there is two endpoint to use:
/allto bring the list sorted by ping (the first the fastest)/bestbring only the fastest node
By using them, you'll have a JSON response with, per node:
- url: link of the node
- name: hostname of the node
- online: online status
- ping: ping of the node, in ms
- version: version of Hive-Engine running on node
- nodeType: full or light
- chain: what chain is executed by the node (mainnet or testnet)
Easy, isn't it? I choose to bring only easy and fast way to improve any project which use Hive-Engine.
Future
It's quite good for a "week-end project". But on my discord server, after talking about that, some users have plenty of ideas:
- Scan the Hive nodes
- Add more tests
- Endpoints with data, or not
- Many more...
What do you think about Hive-Engine Network status ? IF you know some developers who have some problems with Hive-Engine nodes, just talk with them about my project :)
As usual, if you like my works, you can upvote and reblog this post. And if you have some idea, questions or feedback, feel free to ask me in the comments.
Leave Hive Engine net work status API : Get the health of Hive-Engine nodes to:
Read more #hivedevs posts
Best Posts From Florent Kosmala
We have not curated any of bambukah'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 Florent Kosmala
- Electronics equipment shelf - DIY with 3D Print
- 1000 downloads of my 3D print models! Thank you so much!
- Important health update
- How OpenSCAD change my life
- Ok, HIVE, I need a small help. To have a professional profile on Printables, I ...
- Introducing OpenEDS - Open-source 3D-printed tools for disabled people
- Baristart - Your new coffee companion for a REAL coffee
- DIY: A desk with a door
- I must Open-Sourcing all my projects (and other news)
- 3D Printing: A life-changer for Ehlers Danlos Syndrome
- An open letter to myself
- HiveLive news #1: your fortnightly dose of HiveLive
- HiveLive Proposal: Developing Open-Source tools & services on Hive
- Hive PHP Lib - First production version update
- NetworkStatus update : Quality, Hive-Engine History, more tests ....
- [FR] Chronique Musicale : Ne Obliviscaris - Exul
- HiveStream Update : more compatibility, new features, and some fixes.
- Hive Engine net work status API : Get the health of Hive-Engine nodes
- HiveLive Universe is now open
- Hive PHP Lib Update: New logo, HiveEngine tables and more quality