The release candidate for the HF24 namely eclipse is announced here: https://hive.blog/hiveblockchain/@hiveio/hive-hardfork-24-upcoming-release-candidate-testnet-other-info . Its essential that the community take part in the testing by running the TESTNET, major dApps like Hive.blog, Peaked, HiveSigner & various modules like Hivemind. I hope @inertia will do his "tinman magic" create replica of the Hive MAINNET.
Those who are interested can get the code base as:
git clone https://gitlab.syncad.com/hive/hive
Build instructions, especially the dependencies are here : https://gitlab.syncad.com/hive/hive/-/blob/master/doc/building.md
Go to the root directory once the dependencies are met & run the following commands:
git submodule update --init --recursive
git submodule sync --recursive
now its time to build the TESTNET
mkdir build
cd build
## cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_HIVE_TESTNET=ON
cmake -DCMAKE_BUILD_TYPE=Debug -DLOW_MEMORY_NODE=ON -DCLEAR_VOTES=ON -DSKIP_BY_TX_ID=OFF -DBUILD_HIVE_TESTNET=ON -DENABLE_MIRA=OFF -DHIVE_STATIC_BUILD=ON ..
make -j$(nproc)
This will create the binaries in, source code directory/build/programs folder.
running a local network / blockchain
Without external seeds, if we want to run the chain, we can enable "stale mode" which will "self" generate the blocks. Right since no one has announced public nodes, we can start running a local node.
- Getting the private keys
When we start the chain in the TEST mode, the private key of the initminer
account will be printed on the screen. Run the hived
executalble, copy the key and press control-c to exit the chain.
./programs/hived/hived -d chain --enable-stale-production
This command starts the chain and stores the blockchain files and config file under the folder called chain
(Note the initminer private key)
Copy the initminer private key & edit the config file to enter the witness details.
A sample config file which I have stolen from @gtg is here : ~~~ embed:199e74bb8faa0d923f803182a9387470#file-hivehf24-config-ini gist metadata:Ym9iaW5zb24vMTk5ZTc0YmI4ZmFhMGQ5MjNmODAzMTgyYTkzODc0NzAjZmlsZS1oaXZlaGYyNC1jb25maWctaW5p ~~~
In the config file, the following entries can be added:
# Enable block production, even if the chain is stale.
enable-stale-production = yes
# name of witness controlled by this node (e.g. initwitness )
witness = "initminer"
# WIF PRIVATE KEY to be used by one or more witnesses or miners
private-key = 5JNHfZYKGaomSFvd4NUdQ9qMcEAC43kujbfjueTHpVapX1Kzq2n
To operate cli_wallet
RPC / Websocket needs to be run and it can be enabled by adding the following line:
# Percent of witnesses (0-99) that must be participating in order to produce blocks
required-participation = 0
Now, one last point is needed - keep the participation from other witnesses zero to ensure that our local chain is up and running required-participation
make required participation as zero.
# Percent of witnesses (0-99) that must be participating in order to produce blocks
required-participation = 0
Joining the existing TESTNET
To join an existing testnet, add a seed node which is published and edit the configuration file accordingly. ie, add the seednode.
Hive v1.0.11 Seed nodes
- hiveseed-fin.privex.io : @someguy123 (will be running the RC shortly)
I didn’t know that you are a Witness
Also we need a lot more people running the code
Cc @jongolson
I am :-) Been one from 2017 October or so
Congratulations @bobinson! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :
You can view your badges on your board And compare to others on the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @hivebuzz:
Build options ...
cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_HIVE_TESTNET=OFF -DLOW_MEMORY_NODE=ON -DCLEAR_VOTES=ON -DSKIP_BY_TX_ID=ON -DENABLE_MIRA=OFF -DHIVE_STATIC_BUILD=ON ..