I am running a Hive-Engine witness node for a long time now. Today I took five minutes, maybe ten, to upgrade the node from v1.8.3 to v1.9.0. It was a mandatory upgrade since some breaking changes were introduced.
Here is the list of improvements and fixes in the latest release. Kudos to all the authors that contributed to it: @primersion, @rishi556, and @cryptomancer. Appreciated!
The process of upgrade was a very straightforward one. In fact, I didn't upgrade the node. I installed it anew and applied config and environment settings to the new installation.
The steps taken were:
-- the main directory for node app
cd /var/witness
-- clone main branch into he190 subdirectory
git clone --recursive https://github.com/hive-engine/hivesmartcontracts.git he190
-- step into directory and check branch
cd he190
git status
On branch main
Your branch is up to date with 'origin/main'.
-- compile node app
npm ci
-- backup the default config
cp config.json config.json-original
-- copy over config from old app
cp ../he183/config.json .
-- edit start block to 41967000
vim config.json
-- copy environment settings
cp ../he183/.env .
-- stop and delete current app, run the new version
pm2 stop app
pm2 delete app
pm2 start app.js
pm2 logs
-- that's it
Next steps? I need to edit the config since the light node settings were improved a bit.
Do you have any vested $workerbee?
I ask you for your support. You can vote for my witness via
https://votify.vercel.app/ervin-lemark
Thanks a lot!
better and better
:ervin :lemark
!hbits
Success! You mined 1.0 HBIT on Wusang: Isle of Blaq. Sorry, but you didn't find a bonus treasure token today. Try again tomorrow...they're out there! | tools | wallet | discord | community | daily <><
Check for bonus treasure tokens by entering your username at an H-E explorer or take a look at your wallet.
Read about Hivebits (HBIT) or read the story of Wusang: Isle of Blaq.
https://twitter.com/108248185/status/1650970016123084801
The rewards earned on this comment will go directly to the people( @ervin-lemark ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.
Congrats for upgrading it!
Just curious to know how long it took to upgrade?
Sound's like it was pretty fast.
It was less than ten minutes. If everything is working as it should then the process is very straightforward.
Keeping in mind, of course, that the whole environment is already set:
!invest_vote
@ervin-lemark denkt du hast ein Vote durch @investinthefutur verdient!
@ervin-lemark thinks you have earned a vote of @investinthefutur !
The Hive.Pizza team manually curated this post.
Join us in Discord!