Mirror, Mirror on the Hive

in Blockchain Wizardrylast year

Over 1.5 years ago, I initiated the first public Mirrornet for Hive. Since then, Mirrornet has proven itself to be a valuable tool to assist with core development.

It's not easy to maintain because due to huge amount of resources required, so most attention to the Mirrornet was paid around the time when we had to perform HardForks.

Although we are not yet preparing for the next HardFork, there are still many changes being made under the hood. These should be thoroughly tested before going live on Hive.

So now it's time for yet another public, updated instance, running the latest versions of all components.

Hive Mirrornet Generated using IllusionDiffusion

Mirrornet/Fakenet?

Please refer to my previous posts if you are unfamiliar with what the Mirrornet/Fakenet is.

I strongly recommend reading them before doing anything involving the Hive Mirrornet. I don’t want to repeat what was written, some of the information may be obsolete since it relates to the previous instances that ran a long time ago. However, you can gain a better understanding of what it's all about.

Who is it for?

  • Core developers - We use it on a daily basis, whether a public one is available or not.
  • Witnesses - To check how new versions of consensus nodes behave in real-world scenarios. You don't have to be in the top20 on the mainnet to run a node for a top20 witness on the Mirrornet.
  • (*) Devs, dApps, exchanges - To test their software.
  • (*) Users - To play in a big sandbox (but please be careful and read the posts linekd above).

(*) - not yet, because full API is not ready yet

Work in Progress

As always I’ll use this post for on-chain coordination of Mirrornet setup and related tasks.
There's a long way from starting with block conversion and initial deployment, to setting up witnesses, initiating the first production, and then adding required components. At the end of this route is a distributed set of mirror block producers and a fully functional, public fake/mirror API node.

If you are a witness - please consider joining

Currently, I'm running block production for 30 witnesses myself.
If you are going to join, feel free, pick your witness, setup a node and sync it to head block, change the keys for your account to take over production, and you are all set.
Don't worry about setting up a full node unless you have a really good reason to do so.
It requires tons of resources, and I believe that what I have can handle all the load well enough.

Resources

No block_log or snapshot to download. Sync from scratch is the way to go, which is also a test of massive p2p sync.

wget https://gtg.openhive.network/get/mirrornet/hived-a61eef1e -O hived-a61eef1e
chmod 755 hived-a61eef1e
./hived-a61eef1e --chain-id=42 --p2p-seed-node seed.fake.openhive.network:2001

Changelog

  • "hive_revision":"a61eef1efe27ea3d84148eaac15b75614fbc35b8"
  • Blockchain state database is AT IRREVERSIBLE state specific to head block: 78772726
  • The Mirrornet node based converter is started:
    Got 2472 transactions on block 78810454 by gtg -- Block Time Offset: 115 ms
  • HAF node replay in progress.

Hats off to @blocktrades and @thebeedevs for all their continuous contributions and support.

Sort:  

From what I understand, this network would be a testing environment? That would be interesting, being able to test and verify changes before they go to production.

Yes, it's kind of a testnet, but there are differences between "traditional" Testnet and Mirrornet

It might look the same, it might feel the same, but it’s fake.
The only purpose of its existence is research and development of the Hive ecosystem.

Pretty cool, this is similar to what I have at my work, we also have a testing / mirror environment to test changes and make improvements with the security that we won't do anything stupid on the production environment bench! Thanks for sharing this with us!

The time always comes to update or renew estimates @gtg which began more than a year and a half ago in the first public Mirrornet for Hive. The important thing is that Mirrornet has proven to be a valuable tool to help with core development. From Venezuela I will continue to wish you success.

Brilliant work 👏 I must say @gtg
More grease to your elbow.

Improvement is what I always love reading about and this is one of them.

Interesting post

https://inleo.io/threads/omarrojas/re-leothreads-2xwondh33
The rewards earned on this comment will go directly to the people ( omarrojas ) sharing the post on LeoThreads,LikeTu,dBuzz.

Congratulations @gtg! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 50000 upvotes.
Your next target is to reach 55000 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

Check out our last posts:

LEO Power Up Day - October 15, 2023

This is amazing to discover that mirrornet even after a year is still functioning quite well. You must have put in so much work and hardwork in it.

Congratulations @gtg! Your post has been a top performer on the Hive blockchain and you have been rewarded with this rare badge

Post with the highest payout of the week.

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

Check out our last posts:

LEO Power Up Day - October 15, 2023

This sounds interesting... Looking forward to seeing what the future brings

The more I dive deeper into HIVE, the more amazing stuff I come across. So many amazing creators and people on here. I definitely have to look more into this over the weekend. Great post, I look forward to more of your posts.

Impressive. This is such a brilliant idea indeed👏🏻

@gtg, congratulate you. I need your advice.

@gtg, congratulate you. I need your help. Recently my post has been devalued and I don't know who to turn to. I wrote and asked a question to @curangel to explain why this happened. But I didn't get an answer. Do you know how I can solve this issue?
I've been writing at Hive for seven years, and I've always thought of this community as a model of justice. That's why I'm sad about this situation.

Congratulations @gtg! Your post has been a top performer on the Hive blockchain and you have been rewarded with this rare badge

Post with the highest payout of the week.

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

Check out our last posts:

Rebuilding HiveBuzz: The Challenges Towards Recovery

problem is scammers like @themarkymark still have vote power coz nobody made altering bots