Hey everyone,
EDIT: Version is now 0.0.10. Emergency hotfix for broken permlinks.
Today, I'm happy to announce a new release for hive-nectar
, which is now at version 0.0.9. This update focuses on improving the reliability and intelligence of how the library handles Hive nodes. Plus, I took the opportunity to clean up a lot of minor linting errors that were annoying me. A clean codebase is a happy codebase!
The core of this update is a significant refactor of the update_nodes
function within the NodeList
class. This is the part of the library responsible for finding and maintaining a list of healthy, fast nodes to connect to.
Previously, the logic for updating the node list was a bit scattered. Now, it's much smarter and more authoritative.
update_nodes
function now gets its authoritative list of nodes and performance data directly from the json_metadata
of the @nectarflower
account. This ensures it's always working with the most current and accurate report.weighted_score
provided in the report for ranking nodes. Any nodes not in the report have their scores zeroed out, so they don't interfere with the official ranking.These changes mean that any application using hive-nectar
will be much more resilient and intelligent when connecting to the Hive blockchain. It will automatically favor the best-performing nodes and avoid ones that are down or struggling, leading to a faster and more reliable experience for the end-user.
This is an important step forward for the library, and I'm excited to get these improvements out there.
EDIT: https://github.com/TheCrazyGM/hive-nectar
As always,
Michael Garcia a.k.a. TheCrazyGM
I'm sure many devs will find this to be a valuable library. Thank for this!
The github is at https://github.com/TheCrazyGM/hive-nectar for those who want to use it.
Dude, i really need to start linking things. This is the 3rd time just this week that I have forgotten...
Ha, no worries, I gotchu! Your brain has been hard at work all week and little things fall through the cracks. I know they do for me!
Have a nice day! :)
Congratulations, my friend, excellent contribution. I really appreciate how you're always tweaking, adjusting, and refining the code as you, and others, use it. 😁 🙏 💚 ✨ 🤙
If you ask me - this IS worth money!
!PAKX
!PIMP
!PIZZA
View or trade
PAKX
tokens.Use !PAKX command if you hold enough balance to call for a @pakx vote on worthy posts! More details available on PAKX Blog.
$PIZZA slices delivered:
@ecoinstant(1/20) tipped @thecrazygm
Come get MOONed!
Congratulations @thecrazygm! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
Your next target is to reach 33000 upvotes.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP