Breaking the mirror, building a new one.

in Blockchain Wizardry14 days ago (edited)

This post is for informational purposes and Mirrornet operations coordination, intended for witnesses and developers who want to use the test environment.

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, and some of the information may be obsolete since it relates to previous instances that ran a long time ago. However, you can still gain a better understanding of what it’s all about.

Breaking the mirror (reasonable efforts to keep it running)

For simplicity and to save resources, etc., I’m not providing high availability for the mirror, but I try to keep it running most of the time.
An old instance that was started in 2023 is shutting down right now.
I’m keeping the old chain-id for simplicity (and because I like it). The skeleton key will also be the same.

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.

Changelog

  • Current develop (equivalent to the upcoming 1.27.8 release) was used to create Mirrornet binaries
  • Mainnet block_log up to block 92500000 was “mirrored”
  • Initial replay of consensus node was created
  • Snapshot was created for quick deployment
  • Old mirrornet instance was shut down
    2025-01-19T08:59:35.776093 p2p_plugin.cpp:199 handle_block ] Got 13 transactions on block 92406742 by gtg -- Block Time Offset: -223 ms
  • New mirrornet produced first block
    2025-01-19T22:31:02.601414 p2p_plugin.cpp:579 broadcast_block ] Broadcasting block #92500001 with 0 transactions
  • Live (node based) conversion from mainnet started, transactions from roughly 90k blocks to catch up
    Block stats:{"num":92500131,"lib":92500131,"type":"gen","id":"058370a3c8f749627a7bc0ca9eac0454cdbbb1ed","ts":"2025-01-19T22:37:45","bp":"gtg","txs":1589,"size":298410,"offset":-200833,"before":{"inc":1733,"ok":1589,"auth":0,"rc":0},"after":{"exp":0,"fail":0,"appl":0,"post":0,"drop":0,"size":0},"exec":{"offset":-399982,"pre":14,"work":199135,"post":40604,"all":239753}}
  • Mirrornet API node operational
    hivemind-block-processing-1 | INFO - hive.indexer.sync:185 - [SINGLE] Current system time: 2025-01-25 06:05:14.471

By the way, if you aren’t a developer or witness, and are close to being bored to death by this post, here’s an absolutely unrelated, random YouTube video featuring John Cleese, Rowan Atkinson, and Hive.

Sort:  

Great 3d logo. Curious is this for open use? Could i use in a video? If it is open, is there a place to get file that is not YouTube?
Nice code, i love things that are elusive to me. Feels like a form of magic.

I was using an online rendering service long time ago, with a reseller license, so I resell it to community for 0, and you are free to use it as you wish as long as it's helping making Hive awesome. You can either download it from YouTube or I can send give you a source material to download.

Thanks for this informative post!I'm impressed by the work involved in maintaining and updating the Mirrornet.I appreciate the clear explanation,even for someone not deeply versed in the technical details.Looking forward to future updates!

Excellent opening, Great ending, rest flew over the cuckoo's nest...

Keep up the good work in the engine room!

Thank God there was a video clip at the end....

Thank me. God knows why six days of work was enough to secure all the credit since Genesis ;-)

I read your post to read your post because I saw it on the "Chain News" feed... which is strange because I never click on but did this morning for whatever reason.

I got to the end, understood like 30% of what you were saying and read your finale...

Definitely made me chuckle :)

this what we called a breakthrough

That’s sounds very interesting. I will take a better look at it tomorrow and my husband as well

PIZZA!

$PIZZA slices delivered:
(2/10) @danzocal tipped @gtg

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 day.

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

My mind is exploding! I don't understand anything, sir. LOL =)