[ANN] Steem-in-a-box - Hive 0.23.0 HARD FORK released

in #witness-update4 years ago (edited)

This is a quick update to inform people on how to switch over Steem-in-a-box (SIAB) to the Hive fork.

Announcement of Hive network - SteemPeak Post

image.png

As the hard fork is due in approx. 9 hours from now, this post may contain a few small mistakes, and limited information. DM me on Discord or other platforms if you spot any issues :)

Hive is a hard fork of Steem without the Steemit Inc. ninja-mined stake (SINMS).

Today (Friday 20 Mar), Steem will split into two networks: Steem, and Hive.

Witnesses who are showing as 0.23.0 are running the Hive code, and are ready for the chain split: https://www.eztk.net/witnesses.php?id=someguy123

The HF lock-in time is: 20-Mar-2020 @ 14:00 UTC (see here for current time: https://time.is/UTC )

Updating to Hive - 0.23.0



Updating Steem-in-a-box core files

Updating Steem-in-a-box's core files (i.e. the SIAB application itself) is very simple as always:

cd ~/steem-docker       # Enter the folder containing SIAB
git checkout master     # Ensure you're on the right branch
git pull                # Download and install (merge) any code updates

Updating Steem-in-a-box (SIAB) to Hive 0.23.0

If you are running Steem 0.22.0 or 0.22.1 - you can upgrade directly to Hive 0.23.0 without needing a replay.

If you upgrade after the hard fork time (20-Mar-2020 @ 14:00 UTC), you may have to replay.

Upgrading non-MIRA

(i.e. installations using /dev/shm/shared_memory.bin)

cd ~/steem-docker
# Ensure you're on the 'master' branch
git checkout master
# Update SIAB's "core files" such as run.sh
git pull
# Install the latest image and restart
./run.sh install someguy123/hive:latest
./run.sh restart

Upgrading MIRA

(i.e. installations using RocksDB, such as @privex's Node-in-a-box servers)

cd ~/steem-docker
# Ensure you're on the 'master' branch
git checkout master
# Update SIAB's "core files" such as run.sh
git pull
# Install the latest Hive MIRA-enabled image and restart
./run.sh install someguy123/hive:latest-mira
./run.sh restart

Building from source

If you don't want to use my binary images, you can build the image manually.

First make sure your Steem-in-a-box core files are up to date, as the new STEEM_SOURCE feature is a recent addition in the v2.1.0 release (released 12:13 AM UTC on Mon 24 Feb)

cd ~/steem-docker
# Ensure you're on the 'master' branch
git checkout master
# Update SIAB's "core files" such as run.sh
git pull

Next, you'll want to set the environment variable STEEM_SOURCE to the Hive repository https://github.com/openhive-network/hive.git

# Use Hive's Git repository instead of steemit/steem
export STEEM_SOURCE="https://github.com/openhive-network/hive.git"

WARNING: By default, ENABLE_MIRA is set to ON in the Dockerfile. Despite this, I strongly recommend explicitly specifying it each time, in-case the default is ever changed.

Building 0.23.0 with MIRA disabled (use shared_memory.bin)

The below command will build the branch 0.23.0 from Hive's repo, automatically tag it as steem (the default image used by run.sh), and passes ENABLE_MIRA=OFF to disable MIRA and use shared_memory.bin instead.

./run.sh build 0.23.0 tag steem 'ENABLE_MIRA=OFF'

Building 0.23.0 with MIRA enabled (use RocksDB)

The below command will build the branch 0.23.0 from Hive's repo, automatically tag it as steem (the default image used by run.sh), and passes ENABLE_MIRA=ON to ensure MIRA is enabled (uses RocksDB instead of shared_memory.bin).

./run.sh build 0.23.0 tag steem 'ENABLE_MIRA=ON'

Installing a new Steem node using Steem-in-a-box

If you'd like to save some time, consider using one of @privex's Node-in-a-box servers. They start from just $40 USD per month, and come pre-installed and pre-replayed with Hive v0.23.0 - so your node will be synced and ready to use within minutes :)

NOTE: Pre-ready Hive servers (VPS-HIVE-FIN) are currently restricted to people who have reserved orders in advance, as announced on the Privex Discord. We'll be opening the package to the public within a few hours, giving time for customers who've reserved VPS's to finish their orders.

If you'd rather install Steem-in-a-box on a fresh server, please check my HF20 guide at https://steemit.com/witness-category/@someguy123/the-easy-way-to-install-or-upgrade-to-hardfork-20-steem-in-a-box - it's still accurate for HF23


GIF Avatar by @stellabelle


Do you like what I'm doing for STEEM/Steemit?

Vote for me to be a witness - every vote counts.

Don't forget to follow me for more like this.


Have you ever thought about being a witness yourself? Join the witness channel. We're happy to guide you! Join in shaping the STEEM economy.

Are you looking for a new server provider? My company @privex offers highly-reliable and affordable dedicated and virtual servers for STEEM, LTC, and BTC! Check out our website at https://www.privex.io

You can join Privex's public Discord at https://discord.gg/5XrMuSv - we also have a Matrix server, sign up at https://riot.privex.io (or if you have an existing Matrix account, join our General chat at #privex:privex.io)


Sort:  

Was the snapshot already done @someguy123

AFAIK, the snapshot occurs when the HF happens. That's when Hive splits into an independent chain from Steem.

The HF locks in at: 20-Mar-2020 @ 14:00 UTC

Ok that is very good to know :D
Thanks very much.

Great work on this captain!

Im too dumb to figure this out now, but I will want to try a mira box later after I figure out my hive.

Good Luck
I an very interested and waiting ..

Good job for us " Professor"

Posted using Partiko Android

If I follow the old guide, hf-20, does that still require the 64 gb ram? Or is 8 (16) enough? Was debating taking the plunge and figuring it out finally....

8GB of RAM is enough for a low memory consensus witness node

Thank you for your work to make setting up a hive node accessible to anyone. I surely give it a try!

The people behind Hive have moved with blistering speed while keeping the community abreast of upcoming changes and immediate goals. This seems to have help of avoid the communication shortfalls that routinely plague Steemit. Wish the Hive team a successful start and that they will deliver on their promises.

!giphy awesome

Posted using Partiko Android




giphy is supported by witness untersatz!

So awesome to be here! Thanks.

i hope the platform will be big and that we can have a nice and big community