+-+-+ +-+ +-+-+-+-+
|G|O| |4| |H|I|V|E|
+-+-+ +-+ +-+-+-+-+

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

[Docker compose] How to run a hived node / seed node / witness node

BY: @mahdiyari | CREATED: Jan. 4, 2025, 4:36 p.m. | VOTES: 655 | PAYOUT: $205.12 | [ VOTE ]

[IMAGE: https://files.peakd.com/file/peakd-hive/mahdiyari/23tGbvjzjLLsAJKzya6tfjwCFdg6Mdgjbk7t7fkGSecFC8WSiV1zsiRwfCHe5F39hNc12.jpg]

There are multiple ways of running a hived node. In this post we use docker compose for an easier setup. By default everything will be contained in one directory for easier management.

Recently @gtg also published a good post. You might want to check that out. It is a good post specially for the exchanges:
Hive Node Setup for the Smart, the Dumb, and the Lazy.

Requirements

Docker

Docker installation is simple:

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Optional security step:
You might want to run hived and docker under a non-root user which is recommended.

# Create a non-root user - I name it "myuser"
# and allow it to run docker
sudo useradd -m -G docker myuser
# login as myuser
su - myuser

While on the security topic, you might want to disable the password login on your server and use ssh keys and also install fail2ban for additional security. You can do that after setting up hived with the help of internet.

Hived

git clone https://gitlab.com/mahdiyari/hived_docker
cd hived_docker
cp .env.example .env

Now edit .env file accordingly. You set the hived version and the hived arguments there.

nano .env

P2P sync

For a p2p sync set ARGUMENTS="" in the .env file (which is done by default).

# Start hived in the background
docker compose up -d

Replay

The p2p sync should be fast enough for most people and I would recommend just doing that but if you already have a block_log you can try replaying.

The newer hived (not released yet - v1.27.7) by default will use splitted block logs instead of the legacy single block_log file. So even if you put one block_log, it will split it first and you should pay attention to your storage space in this case as 1TB might not be enough. To keep using the single block_log, you have to edit the config.ini before replaying.
By default the config.ini will be in the following location:

nano datadir/config.ini

Add block-log-split = -1 to keep block_log a single file.

You need ARGUMENTS="--replay" in the .env file. Then:

docker compose up -d

I recommend the P2P sync if you already don't have a block_log as the download speed of the block_log will probably be too slow to justify it over the P2P sync.

Docker commands

Docker commands that might be useful:

# see last 100 lines of logs
docker compose logs -f --tail 100

# stop and remove the container
# DO NOT force shut down hived
docker compose down

Witness node

To run as a witness you need to do additional steps. Generate a pair of keys and put the private key in your config.ini and add the public key to your hive account.

The secure option for generating keys would be something offline like the cli_wallet or some other wallet. But you could also use something like https://hivetasks.com/key-generator to generate random keys then copy one of the corresponding private and public keys. The website is safe at the time of writing. For this example I picked the generated posting key. It doesn't matter. You just need a pair of matching keys:

[IMAGE: https://files.peakd.com/file/peakd-hive/mahdiyari/EoEwLVDHHiGH74aMeqEDy2TRfhMjZjKwTEUgVcFG1gKEa7KaKYkmnnRSA8AuKTYL8CG.png]

datadir/config.ini

witness="username"
private-key=5Jfv7EK8VtnnTgwCpmwvkWsqhKVeNKmgtcYQFeWH3zzjA1Y5qaG

Then you can use https://hive.ausbit.dev/witness to register a new witness or update an already existing one. You would need to login first to the website then refresh.

[IMAGE: https://files.peakd.com/file/peakd-hive/mahdiyari/23uEyuAfwADeBUDXANmtHRrVrauCJsyi8fb6vVEBSHN455Pvg7dpfqQ3hbkdqpqRvfkBf.png]

Then we put the public pair of our signing key in there and broadcast the the transaction:

[IMAGE: https://files.peakd.com/file/peakd-hive/mahdiyari/Eo8L56KsT6XqvLQtFvSaUGWbhDyE8DEQDKQf6B89HdywttbrZqDUe8J1JdqJfbLkzzX.png]

Scroll down and:

[IMAGE: https://files.peakd.com/file/peakd-hive/mahdiyari/23tbMTMG2SQd3Vee9L9orPiJzY14gyyZyFegf5EK4beMyj35pYWJ5iWtfevJwCmut34dY.png]

You can ask your technical questions in the official hive discord (which you can find on hive.io bottom of the page) or #witness or #dev channel on https://openhive.chat/

For future hived updates, you would just need to edit the hived version in the .env file and be good to go.

*The first image is taken from pixabay.com

TAGS: [ #hivedev ] [ #dev ] [ #hive ] [ #witness-category ] [ #witness ] [ #hived ] [ #docker ]

Replies

@jocieprosza | Jan. 4, 2025, 6:32 p.m. | Votes: 3 | [ VOTE ]

What internet speed does one need to have to run a node?

@mahdiyari | Jan. 4, 2025, 6:38 p.m. | Votes: 1 | [ VOTE ]

Speed generally doesn't matter that much other than the initial sync that you need to download the blockchain basically (~500gb). I did check one of my nodes and the data usage is around 250GB a month after the initial sync. Maximum block size is 64KB and that happens once every 3 seconds. So you should be fine on any speed.

@rishi556 | Jan. 6, 2025, 2:28 a.m. | Votes: 1 | [ VOTE ]

I run a few seed nodes and here's some stats that might be useful if you want to run a seed node on data usage:

Chicago Seed Node:

   monthly
                     rx      |     tx      |    total    |   avg. rate
     ------------------------+-------------+-------------+---------------
       2024-12    150.79 GiB |  489.10 GiB |  639.89 GiB |    2.05 Mbit/s
       2025-01     17.91 GiB |   41.42 GiB |   59.32 GiB |    1.16 Mbit/s
     ------------------------+-------------+-------------+---------------
     estimated    108.82 GiB |  251.73 GiB |  360.55 GiB |

   daily
                     rx      |     tx      |    total    |   avg. rate
     ------------------------+-------------+-------------+---------------
     yesterday      4.23 GiB |   18.78 GiB |   23.01 GiB |    2.29 Mbit/s
         today    443.85 MiB |    1.04 GiB |    1.47 GiB |    1.45 Mbit/s
     ------------------------+-------------+-------------+---------------
     estimated      4.30 GiB |   10.32 GiB |   14.62 GiB |

NYC Seed Node:

   monthly
                     rx      |     tx      |    total    |   avg. rate
     ------------------------+-------------+-------------+---------------
       2024-12    225.89 GiB |  739.40 GiB |  965.29 GiB |    3.10 Mbit/s
       2025-01     27.96 GiB |   89.84 GiB |  117.80 GiB |    2.30 Mbit/s
     ------------------------+-------------+-------------+---------------
     estimated    169.91 GiB |  546.04 GiB |  715.95 GiB |

   daily
                     rx      |     tx      |    total    |   avg. rate
     ------------------------+-------------+-------------+---------------
     yesterday      6.33 GiB |   26.30 GiB |   32.63 GiB |    3.24 Mbit/s
         today    655.13 MiB |    2.76 GiB |    3.40 GiB |    3.36 Mbit/s
     ------------------------+-------------+-------------+---------------
     estimated      6.35 GiB |   27.42 GiB |   33.77 GiB |

But running a witness node will have a lot less tx so it'll be lower.

@borislavzlatanov | Jan. 4, 2025, 8:21 p.m. | Votes: 2 | [ VOTE ]

Definitely don't generate keys using an online service. Maybe it does the right thing and never sends the keys to the server where it's hosted, but that kind of behavior might change over time, i.e. the server might get hacked, etc. Instead, the CLI wallet can be used to generate the keys locally.

> So even if you put one block_log, it will split it first and you should pay attention to your storage space in this case as 1TB might not be enough.

Hmm, does this mean that when block_log is split into parts, it takes up much more space?

@mahdiyari | Jan. 4, 2025, 8:23 p.m. | Votes: 2 | [ VOTE ]

It doesn't consume the original block_log when generating the parts. So you end up with 2 full block_logs. Hence more space usage while splitting.

@travoved | Jan. 4, 2025, 8:46 p.m. | Votes: 2 | [ VOTE ]

With docker setting up witness node looks pretty easy. But which hosting you can recommend to use their VPS for running witness node?
Also is there any option to run hive-engine witness node in docker?

@mahdiyari | Jan. 4, 2025, 8:50 p.m. | Votes: 1 | [ VOTE ]

Any hosting that you can find that is cheaper and meets the requirements. I have seen people use Hetzner (you'll get in trouble if they find out you are running anything crypto related), OVH, and scaleways.

I don't know about hive-engine. Try asking in their discord or check their repositories.

@travoved | Jan. 4, 2025, 8:59 p.m. | Votes: 1 | [ VOTE ]

Hmm maybe you are right and in hive-engine discord it'll be really right answer about their witness node.

That's the reason that some hostings against to use their infrastructure for cryptography related things 🤷🏼‍♂️
And here I have another one trouble that if I'd like to order VPS I'll need possibility to pay for if from my country (since troubles with Visa MasterCard etc) or they need to accept crypto payments. But it's more problem of course now..

Also can you explain how to install cli wallet and how to install it?
I think it'll be enough link to this service or short description of it.

@mahdiyari | Jan. 4, 2025, 9:05 p.m. | Votes: 1 | [ VOTE ]

You can try ordering from the providers in your own country.
The binaries are available here for cli_wallet https://gtg.openhive.network/get/bin/ or you can build it yourself from the hive repository.

@travoved | Jan. 4, 2025, 9:37 p.m. | Votes: 1 | [ VOTE ]

Thank you I'll try to look how to work with cli_wallet more detail!

@danzocal | Jan. 5, 2025, 12:15 a.m. | Votes: 1 | [ VOTE ]

!PIZZA

@pizzabot | Jan. 5, 2025, 12:17 a.m. | Votes: 0 | [ VOTE ]

PIZZA!
Hive.Pizza upvoted this post.

$PIZZA slices delivered:
@danzocal(8/10) tipped @mahdiyari

Please vote for pizza.witness!

@oflyhigh | Jan. 5, 2025, 1:57 a.m. | Votes: 3 | [ VOTE ]

Thank you for sharing such valuable content.

@onlyjob | Jan. 5, 2025, 5:01 a.m. | Votes: 2 | [ VOTE ]

Few comments/corrections:

docker compose is unnecessary when you run just one application container.

Docker is pretty much deprecated nowadays as it have a better, mature successor: Podman (a.k.a. "libpod") https://podman.io/

Ubuntu (redundant Debian derivative) is unnecessary and unjustifiable. Since it have no technical reasons to exist, it is better to use Debian instead.

hived v1.27.7 have been (already) tagged/released on 2024-12-14: https://github.com/openhive-network/hive/releases

@mahdiyari | Jan. 5, 2025, 10 a.m. | Votes: 0 | [ VOTE ]

hived requires certain parameters to be applied when you run the container and with the help of compose yaml files you get to just start the container with a very short command. There is nothing wrong with other ways of running a container.

Debian should be fine but Ubuntu 22 is the recommended OS for Hive apps.

That's just a bad release naming. The latest unstable version of hived currently is 1.27.7rc16 so the logical next stable release should have been 1.27.7. Once there is a stable release I can edit the post.

@onlyjob | Jan. 5, 2025, 3:58 p.m. | Votes: 0 | [ VOTE ]

What do you mean by "bad release naming"? Project obviously follows semantic versioning: https://semver.org/
https://en.wikipedia.org/wiki/Software_versioning

@mahdiyari | Jan. 5, 2025, 4:15 p.m. | Votes: 0 | [ VOTE ]

In the same source you sent:

> Example: 1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0

RC comes before the stable release
You can't have 1.0.0 then release 1.0.0-rc.1
The latest release of hived is 1.27.7rc16 (https://gitlab.syncad.com/hive/hive/-/tags) and you can't release that after releasing 1.27.7

RC: Release Candidate
1.27.7rc16 means it is a candidate to become 1.27.7

And no. hived does not follow semver.

@onlyjob | Jan. 7, 2025, 2:51 a.m. | Votes: 0 | [ VOTE ]

I see, apparently developers made a mistake with tagging 1.27.7, and they did not correct it by properly incrementing minor release number... Indeed it is a violation of versioning best practice. (I reported this issue as https://gitlab.syncad.com/hive/hive/-/issues/740)
At least versioning pattern seems to suggest that there could have been an intent to use semver...

Regarding "Ubuntu 22 is the recommended OS for Hive apps", host OS does not matter if you run Docker container anyway. Recommendation is obviously misguided, but at least it have some validity as notion that application builds from source in that environment (and that Ubuntu 22 is used as development environment by some active developers).

@onlyjob | Jan. 10, 2025, 3:16 a.m. | Votes: 0 | [ VOTE ]

Bad news: developer demonstrated ill attitude and refused to acknowledge versioning issue... :(

@seattlea | Jan. 5, 2025, 6:02 a.m. | Votes: 2 | [ VOTE ]

Is it only one terrabyte of storage? I thought it has to be more?

Also, is an Azure VM a viable option?

@mahdiyari | Jan. 5, 2025, 10:01 a.m. | Votes: 0 | [ VOTE ]

I would imagine Azure being very expensive but sure if it meets the requirements.

@rishi556 | Jan. 6, 2025, 2:29 a.m. | Votes: 1 | [ VOTE ]

I used to run a node on AWS. Cost about $300/mo, so yes possible but VERY expensive.

@seattlea | Jan. 6, 2025, 9:41 a.m. | Votes: 0 | [ VOTE ]

I have a $150 credit every month from VS subscription, so was thinking of using that...

@rishi556 | Jan. 6, 2025, 3:24 p.m. | Votes: 0 | [ VOTE ]

It might be possible to get it to fit within that price range using reserve: https://azure.microsoft.com/en-us/pricing/calculator/. I tend to avoid hyperscalers unless I need something that can scale quickly or to deploy to a bunch of regions easily or if I'm using a cloud native feature(aka lambdas). But whole lot cheaper to grab a dedicated server from one of the many, many providers that are out there, or colocate your own server with a provider.

@seattlea | Jan. 7, 2025, 10:52 p.m. | Votes: 0 | [ VOTE ]

So I got to docker compose up -d step on Azure VM and it seems like I need to adjust my network settings I got the following error:
unable to get image 'hiveio/hive:1.27.7rc16': permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.47/images/hiveio/hive:1.27.7rc16/json": dial unix /var/run/docker.sock: connect: permission denied

@seattlea | Jan. 7, 2025, 10:57 p.m. | Votes: 0 | [ VOTE ]

Oh disregard this, I need to run with elevated permissions :)
just add "sudo" in front of docker compose

@itcouldbecloud | Jan. 5, 2025, 10:35 a.m. | Votes: 1 | [ VOTE ]

Thankyou for sharing this

@sopel | Jan. 5, 2025, 1:53 p.m. | Votes: 1 | [ VOTE ]

About system requirements: not sure how much ram is needed but I run node on machine with 4 gigabytes (maybe 32 gigabytes is for building hive from source. Also if you have limited disk space - you can run smth like "pruned" node in bitcoin - don't store all block log at all or store only 1milion last blocks. To run "pruned" node you must add "block-log-split = 0" (or "block-log-split = 1" for one milion blocks in storage) in config.ini. Massive sync from 0 takes like 1-2 days nowadays. It should be possible to run node on raspberry pi with external ssd like 50gigs, not tested this thought raspberry pi is ARM not sure if this will work smoothly. But for full block_log it takes like 1TB.

@mahdiyari | Jan. 5, 2025, 2:09 p.m. | Votes: 0 | [ VOTE ]

You are right. It should be possible to run hived on lower end machines with pruned block_log.

I should have probably mentioned that as well. Thanks.

I remember not being able to run hived with 8gb of ram but I think that was building from the source. I didn't think about it that much as with this one I was aiming for seed nodes and I don't think running a public seed node without the block_log would be that beneficial. But for other uses, it is valid.

@mahdiyari | Jan. 5, 2025, 2:30 p.m. | Votes: 1 | [ VOTE ]

I edited the requirements with more info.

@seattlea | Jan. 31, 2025, 7:03 p.m. | Votes: 0 | [ VOTE ]

@mahdiyari Is a server with 1TB enough to run a witness node or it needs more space? Asking because I see this in the Hive docs:
[IMAGE: https://images.ecency.com/DQmWf4W4VfXXcHpv4quTGEsCFiCe6Z1C98DyFkLqxDfYhPo/image.png]

4TB of NVMe or SSD is kind of high...

@mahdiyari | Feb. 1, 2025, 1:16 p.m. | Votes: 1 | [ VOTE ]

This post is about just a hived node. Which is a witness/seed node. The screenshot covers HAF and Hivemind too. Those are separate software that offer more APIs to the interfaces like peakd and ecency.

@seattlea | Feb. 1, 2025, 8:54 p.m. | Votes: 0 | [ VOTE ]

Great! So I can get away with a 1TB hard drive to run the witness node?

@mahdiyari | Feb. 1, 2025, 8:57 p.m. | Votes: 1 | [ VOTE ]

Yes

@solominer | Jan. 9, 2025, 1:19 a.m. | Votes: 1 | [ VOTE ]

Thanks for this guide

@seattlea | Jan. 9, 2025, 11 p.m. | Votes: 0 | [ VOTE ]

I tried setup and it seemed to have worked, but when I check the logs I see errors (any idea what could be wrong?):
hived-1 | 2025-01-08T02:03:46.569591 application.cpp:110 startup ] Startup...
hived-1 | 2025-01-08T02:03:46.571181 chain_plugin.cpp:1776 plugin_startup ] Chain plugin initialization...
hived-1 | 2025-01-08T02:03:46.571200 chain_plugin.cpp:800 initial_settings ] Starting chain with shared_file_size: 25769803776 bytes
hived-1 | 2025-01-08T02:03:46.571217 chain_plugin.cpp:1780 plugin_startup ] Database opening...
hived-1 | 2025-01-08T02:03:46.571231 chain_plugin.cpp:905 open ] Opening shared memory from /home/hived/datadir/blockchain
hived-1 | 2025-01-08T02:03:46.571272 chainbase.cpp:223 operator() ] Free space available: 1061724352512. Shared file size: 25769803776
hived-1 | 2025-01-08T02:03:46.571477 database.cpp:179 pre_open ] 13 N5boost12interprocess22interprocess_exceptionE: Permission denied
hived-1 | rethrow Permission denied: (unformatted args: ("args.data_dir",/home/hived/datadir/blockchain),("args.shared_mem_dir",/home/hived/datadir/blockchain),("args.shared_file_size",25769803776))
hived-1 | {"args.data_dir":"/home/hived/datadir/blockchain","args.shared_mem_dir":"/home/hived/datadir/blockchain","args.shared_file_size":25769803776,"what":"Permission denied"}
hived-1 | database.cpp:179 pre_open
hived-1 | 2025-01-08T02:03:46.571493 database.cpp:179 pre_open ] args.data_dir: /home/hived/datadir/blockchain args.shared_mem_dir: /home/hived/datadir/blockchain args.shared_file_size: 25769803776
hived-1 | 2025-01-08T02:03:46.571537 chain_plugin.cpp:919 open ] 13 N5boost12interprocess22interprocess_exceptionE: Permission denied
hived-1 | rethrow Permission denied: (unformatted args: ("args.data_dir",/home/hived/datadir/blockchain),("args.shared_mem_dir",/home/hived/datadir/blockchain),("args.shared_file_size",25769803776))
hived-1 | {"args.data_dir":"/home/hived/datadir/blockchain","args.shared_mem_dir":"/home/hived/datadir/blockchain","args.shared_file_size":25769803776,"what":"Permission denied"}
hived-1 | database.cpp:179 pre_open
hived-1 | 2025-01-08T02:03:46.571606 blockchain_worker_thread_pool.cpp:511 shutdown ] shutting down worker threads
hived-1 | 2025-01-08T02:03:46.571809 blockchain_worker_thread_pool.cpp:516 shutdown ] worker threads successfully shut down
hived-1 | 2025-01-08T02:03:46.571823 chain_plugin.cpp:898 boost_se_body ] Error opening database or block log. If the binary or configuration has changed, replay the blockchain explicitly using --force-replay.
hived-1 | 2025-01-08T02:03:46.772068 application.cpp:427 wait ] Attempting to request for application shutdown...
hived-1 | 2025-01-08T02:03:46.772123 application.cpp:429 wait ] Request for application shutdown processed.
hived-1 | 2025-01-08T02:03:46.772140 webserver_plugin.cpp:811 plugin_pre_shutdown ] Shutting down webserver_plugin...
hived-1 | 2025-01-08T02:03:46.772937 p2p_plugin.cpp:82 ~p2p_plugin_impl ] P2P plugin is closing...
hived-1 | 2025-01-08T02:03:46.772962 shutdown_mgr.hpp:100 wait ] Processing of 'P2P_BLOCK' in progress...
hived-1 | 2025-01-08T02:03:46.772973 shutdown_mgr.hpp:117 wait ] A value from a different thread is read...
hived-1 | 2025-01-08T02:03:46.772987 shutdown_mgr.hpp:122 wait ] Processing of 'P2P_BLOCK' was finished...
hived-1 | 2025-01-08T02:03:46.773001 shutdown_mgr.hpp:100 wait ] Processing of 'P2P_TRANSACTION' in progress...
hived-1 | 2025-01-08T02:03:46.773034 shutdown_mgr.hpp:117 wait ] A value from a different thread is read...
hived-1 | 2025-01-08T02:03:46.773088 shutdown_mgr.hpp:122 wait ] Processing of 'P2P_TRANSACTION' was finished...
hived-1 | 2025-01-08T02:03:46.773123 p2p_plugin.cpp:95 ~p2p_plugin_impl ] P2P plugin was closed...
hived-1 | 2025-01-08T02:03:46.773298 blockchain_worker_thread_pool.cpp:511 shutdown ] shutting down worker threads
hived-1 | 2025-01-08T02:03:46.773313 blockchain_worker_thread_pool.cpp:516 shutdown ] worker threads successfully shut down
hived-1 | 2025-01-08T02:03:46.773551 main.cpp:94 boost_se_body ] exited cleanly
hived-1 | 2025-01-08T02:03:46.773775 main.cpp:180 main ] 13 N5boost12interprocess22interprocess_exceptionE: Permission denied
hived-1 | rethrow Permission denied: (unformatted args: ("args.data_dir",/home/hived/datadir/blockchain),("args.shared_mem_dir",/home/hived/datadir/blockchain),("args.shared_file_size",25769803776))
hived-1 | {"args.data_dir":"/home/hived/datadir/blockchain","args.shared_mem_dir":"/home/hived/datadir/blockchain","args.shared_file_size":25769803776,"what":"Permission denied"}
hived-1 | database.cpp:179 pre_open
hived-1 | rethrow
hived-1 | {}
hived-1 | chain_plugin.cpp:919 open
hived-1 | Hived process finished execution: return status: 1.
hived-1 | Performing cleanup....
hived-1 | Hived pid:
hived-1 | Waiting for hived finish...
hived-1 | Hived finish done.
hived-1 | Cleanup actions done.

@mahdiyari | Jan. 9, 2025, 11:31 p.m. | Votes: 0 | [ VOTE ]

You can see there are "permission denied" errors. Perhaps you cloned the repo under root and that caused the error? You could try giving those folders chmod 777 and try again.

datadir and blockchain folders

@seattlea | Jan. 10, 2025, 3:55 a.m. | Votes: 1 | [ VOTE ]

Thank you! I did try chmod 777 it gave me some errors so I deleted everything and started over creating a folder under root and then cloning the repo then I chmod it again and docker compose up and it seems to be running!
[IMAGE: https://images.ecency.com/DQmZ2HMvyczBVG11ZamEtuZae26bqDQp4DFSNBQV7wjcGEo/image.png]

@theiam | Jan. 17, 2025, 2:26 p.m. | Votes: 0 | [ VOTE ]

♦️ You got 0.01 FELT for sharing high vibes on Hive.

📋♦️ FELT Info

@aquarius.academy | Jan. 26, 2025, 2:19 p.m. | Votes: 0 | [ VOTE ]

Brilliant post 💫

@seattlea | Feb. 3, 2025, 5:47 p.m. | Votes: 1 | [ VOTE ]

For registering a new witness do you need to generate new posting keys or can you use your account posting key? And how long does it take to see the new witness on PeakD or other witness list after registering it?

@mahdiyari | Feb. 3, 2025, 6:09 p.m. | Votes: 1 | [ VOTE ]

You need a pair of keys. Public and private. For security it is better to generate a new pair. It will show up instantly but the information will be updated after producing a block.

@seattlea | Feb. 4, 2025, 11:31 p.m. | Votes: 2 | [ VOTE ]

I added private key to the config and public key to the witness registration. I see the transaction being submitted but witness is not showing up in the list. Do I need more than a posting key for the witness registration script? I am submitting with an active key from KeyChain.

@mahdiyari | Feb. 5, 2025, 12:22 a.m. | Votes: 1 | [ VOTE ]

You now need to get votes. You are an active witness.

@seattlea | Feb. 12, 2025, 3:47 p.m. | Votes: 1 | [ VOTE ]

It looks like my price feed isn't working. Any ideas what it might be? I kind of assumed it was related to the recent Hive Engine issues or too few blocks signed, but I see that other nodes have price feed working with only 3 blocks signed also.

@mahdiyari | Feb. 12, 2025, 4:36 p.m. | Votes: 0 | [ VOTE ]

Price feed is something that you publish as a transaction. There are scripts that do that for you.
I use this script https://github.com/Jolly-Pirate/pricefeed

@seattlea | Feb. 12, 2025, 5:57 p.m. | Votes: 1 | [ VOTE ]

Thank you! Price feed is fixed and working now :)

@seattlea | March 11, 2025, 9:22 p.m. | Votes: 0 | [ VOTE ]

How do you load and existing snapshot with this configuration?
What do you use instead of:
~/bin/hived-1.27.7 -d /home/hived_docker/datadir --load-snapshot=latest

With docker compose up -d ?

@mahdiyari | March 11, 2025, 9:44 p.m. | Votes: 2 | [ VOTE ]

Put the snapshot in the datadir folder then edit the ARGUMENTS in .env

ARGUMENTS="--load-snapshot=latest"

Make sure to revert this change after loading the snapshot.

@seattlea | March 11, 2025, 10:16 p.m. | Votes: 0 | [ VOTE ]

Thank you! It is supposed to load for a little while, right? More than 10 minutes to load snapshot, right? This Docker option is amazing!

@mahdiyari | March 11, 2025, 10:18 p.m. | Votes: 0 | [ VOTE ]

I'm not sure how long it takes. Haven't used snapshots in a very long time.

@mengao | Nov. 4, 2025, 9:11 p.m. | Votes: 0 | [ VOTE ]

My last witness update I used one of your old tutorials, without docker. Couple of questions.
Should I delete everything and start over with this docker version?
This tutorial works the same for the new versions 1.28.x?
I see the most recent is 1.28.3, should I go for this one?

@mahdiyari | Nov. 5, 2025, 4:44 a.m. | Votes: 1 | [ VOTE ]

This would make your life easier I guess. Sure go ahead. You can set the version of hived in .env file.

@stresskiller | Nov. 8, 2025, 1:14 p.m. | Votes: 0 | [ VOTE ]

right just finished setting it up , thank you for this easy documentation

@gennic555 | Nov. 9, 2025, 8:53 p.m. | Votes: 0 | [ VOTE ]

Multiple way of running hive is ok

@gennic555 | Nov. 10, 2025, 4:41 a.m. | Votes: 0 | [ VOTE ]

Thank you on the direction on how to run hived node

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>