Surprise
Yep, I decided to start with the surprise ๐
Because I can do it, I did it ๐.
Okay, well, good for you... What the hell did you do?
Oh nothing, just a quick thing I made with Angular 10 and NodeJS for those who are curious to see the
Testnet 2 blockchain
in action because I thought it was fun to do it ๐
Then, for those who would like to see the Testnet 2 Live stream of block production of the HF24 it's here: http://hf24.mintrawa.com/
Don't hesitate to go and take a look to see how the blocks are produced by @holger80, @yabapmatt, @roelandp, @deathwing, @engrave, @arcange, @someguy123's servers.
Feel free to show to the world that you're ready for this new adventure in the universe of Hive with the tag #HiveHF24ready on all social media and social networks ๐
What have I learned today? That I was crazy to think that I would find a better javascript library for Hive than the one Johan Nordberg made. Its javascript library remains far ahead of the others and thanks to @good-karma (you made the right choice) and its dhive version it continues to be at the top.
Unfortunately there is no STEMGeeks Hackathon from @themarkymark at the moment, otherwise I would have participated ๐ฅบ
Migration to Testnet 2
To avoid at most any problem, I will follow the post of @howo and now use the TCP port 2002 for my node server on Testnet 2.
Step I - Disabling my witness on the Testnet 1
I know that we're on a testnet and that it's not necessary, but it's better to have this kind of practice because in a production environment, it's important! It saves you from missing blocks when you have to do maintenance on the server!
To do this in the cli_wallet
I used the update_witness
command with the specific address TST1111111111111111111111111111111114T1Anm
(the change here with the production environment are the 3 characters at the beginning TST
for testnet
and STM
for production
.
unlocked >>> update_witness "mintrawa" "https://toolbox.mintrawa.com/" "TST1111111111111111111111111111111114T1Anm" {"account_creation_fee":"0.000 TESTS","maximum_block_size":65536,"sbd_interest_rate":0} true
And I get the answer (details of the block taking into account my request)
{
"ref_block_num": 1532,
"ref_block_prefix": 2608235698,
"expiration": "2020-08-28T20:49:30",
"operations": [[
"witness_update",{
"owner": "mintrawa",
"url": "https://toolbox.mintrawa.com/",
"block_signing_key": "TST1111111111111111111111111111111114T1Anm",
"props": {
"account_creation_fee": "0.000 TESTS",
"maximum_block_size": 65536,
"hbd_interest_rate": 1000,
"account_subsidy_budget": 797,
"account_subsidy_decay": 347321
},
"fee": "0.000 TESTS"
}
]
],
"extensions": [],
"signatures": [
"1f621132562b2e2a2f8badbd9e8cf9b569a1cc1f94cd8969e7c9d15b37dadd53333c01d4b381c8798ec535be1eaecb988342dd04052dc8cc2aee6570a9439ff5d7"
],
"transaction_id": "b139d41e602432082ed7913a445bc72761cf270f",
"block_num": 67069,
"transaction_num": 1
}
Step II - Stop hived & delete directories
Because I used 2 specific directories (~/build
and ~/bin
), I deleted only these 2 directories.
Step III - Switch branch & build
First switch to restore_fix
branch with git pull && git checkout restore_fix
In case of doubt do a git status
and check the answer, it will be like this
Your branch is up to date with 'origin/restore_fix'.
nothing to commit, working tree clean
Step IV - Build hived
Starting from this point, I did the same thing as before.
I checked the version and got this
:~/build$ ~/bin/hived --version
"version" : { "hive_blockchain_hard_fork" : "1.25.0", "hive_git_revision" : "af279f324e249a41411653247861ce031244cd09" }
Step V - Running
Run the command: export HIVE_HF24_TIME=1598817600 && ~/bin/hived -d testnethf24
I checked that everything was fine:
http://hf24.mintrawa.com:8090
ws://hf24.mintrawa.com:8091
hf24.mintrawa.com:2002
http://hf24.mintrawa.com/
testnet-2-is-now-live-we-hardfork-the-30th-at-20-utc-come-join-us
Last posts
24H with HF24 Hive Eclipse Hardfork
Testnet HF24 Eclipse: Feedback about my installation ๐
HaPpY 100 days on Hive!
[MTW Toolbox] A new view of witnesses ๐จโ๐ป
If you like my work, consider voting for my witness
it will only cost you 30 seconds of your time ๐
My witness presentation: @mintrawa a Gen X - Geek ๐ค Gamer ๐ฎ Traveler โฉ๏ธ Witness
Upvote for my witness: https://toolbox.mintrawa.com/witnesses/@mintrawa or click here via HiveSigner
Nice and useful tool @mintrawa. Thank you for doing it ๐
Merci @arcange, If it helps, that's cool, it was also a good exercise for me, making me more comfortable and confident dealing with the data from the Hive blockchain.
Witness FR - Gen X - Geek ๐ค Gamer ๐ฎ traveler โฉ๏ธ
Thanks for mentioning Ecency. Kindly join our Discord or Telegram channels to learn more about Ecency, don't miss our amazing updates.
Follow @ecency as well!
That's super neat :) I'm not a fan of the purple but that's just my opinion haha
Thanks :) to be honest I didn't work too much on the graphic design, the goal was mainly to be more comfortable with the plugins and configuration of a node server on Hive, to better manage my interactions with it from nodeJS and Angular and on all these points I'm greatly satisfied ๐ค With this test I would have learned a lot of things including transaction signatures, wallet and a better approach to stream block parsing. It also confirmed my choice of javascript libraries to use ๐คฃ
I still have 2 questions, is it always interesting to use MIRA with Eclipse? The server requirements for a full node have changed from what I understood but what are they to run RockDB properly?
Witness FR - Gen X - Geek ๐ค Gamer ๐ฎ traveler โฉ๏ธ
, is it always interesting to use MIRA with Eclipse? => No, unless you very specifically want to run a witness server on 4GB of ram but the tradeoff in speed is not worth it.
There isn't really a full node anymore, because a lot of the data has shifted to hivemind, the biggest node configuration available now is what we call an account history node, and it requires 64gb of ram and about 400 gb of space. If you want to learn more I encourage you to read this : https://peakd.com/hive-160391/@gtg/witness-update-release-candidate-for-eclipse-is-out
Thanks! Ok, you confirmed what I thought about Mira and clarified the point about the storage space required for the account history node (I was wrong because I thought 400 GB for the rockDB + 280 GB for the blockchain).
A great job of optimization has been done for the specifications required now! ๐
Witness FR - Gen X - Geek ๐ค Gamer ๐ฎ traveler โฉ๏ธ
Tweet #posh