<sub>This post has been updated from 1.24.4 to 1.27.2</sub> <center><img src="https://images.hive.blog/p/HuuaCwcKuiEjNgLb5Q7HbtUvB1HEHgck8hUkQMB4bFSJaxwFsYXGx7N9qtgEvLdGaoY?format=match&mode=fit"> <sub>Used With Permission From @someguy123</sub></center> Because @someguy123 hasn't written a post about using HIAB I decided to do it, mainly because I use it and always end up referring to discord chats on how to set it up. Much easier to just have it all in one place, and what better place than the chain itself? Im just going over basic setup using p2p sync but theres even more functionality(you can replay the server instead of using p2p, or use a snapshot) which you can read about here: https://github.com/someguy123/hive-docker. ### Server First thing that you'll need is a server for this. Thanks to the efforts from Blocktrades and team, its become quite a bit easier to run I would recommend a<a href="https://privex.io?r=rishi556"> Privex</a> server for this because you can pay with Hive and HBD, but because we have a lot of witnesses already on Privex and its important to have our chain be distributed between different datacenter and providers, I would recommend that you find your own. I do run a company which rents out servers so you could potentially use that, check out <a href="https://ryamer.com">Ryamer</a>. I run my main witness(@hextech) node on a server with 32 gigs of RAM and 8 CPUs for the witness along with 1TB(about 400 GB being used right now) on a NVME on Ubuntu 20. You could possibly get by with less threads and 16 gigs of RAM, but please use a fast disk or else it'll take a long time to get caught up. ### Setting Up HIAB I like to update my server as the first thing to do as well as install git and screen. ``` sudo apt-get update -y sudo apt-get upgrade -y sudo apt-get install git -y sudo apt-get install screen -y ``` Then we clone the repo. ``` git clone https://github.com/someguy123/hive-docker.git ``` And then use it to install docker for you. This shouldn't take too long. ``` cd hive-docker ./run.sh install_docker ``` We can then install the latest docker image for the witness with. It will grab whatever is the latest from dockerhub(https://hub.docker.com/r/someguy123/hive/tags). ``` ./run.sh install ``` ### CLI Wallet And Keys Now we are going to want to generate our witness signing keys. You can reuse some keys that you already use, but it's recommended to generate new ones just for signing blocks. To do that, we use the cli_wallet. We'll be using the remote wallet as our local instance isn't ready yet. ``` ./run.sh wallet ``` You should get presented with something like this on a fresh install. If it says `locked` instead of `new` then you already have a wallet setup(you won't unless you are updating) and you can unlock it and skip the init step.  You can type in `set_password ` to set your password. For example, if I wanted my password to be 123, I'd type in `set_password 123` Remember the password as you'll need this to unlock the wallet in the future. You'll want to unlock your wallet after that. Thats as simple as `unlock 123`. Replace 123 with the password you set. Once you are unlocked you can use `suggest_brain_key` to get a public private keypair generated. You'll want to save that as you'll need it in the future.  You can exit the wallet by pressing control + D. If you ever forget your password, you can wipe the wallet clean and use a new password. A `wallet.json` file is generated and stored within the `data` directory. Just delete that and it'll start the wallet fresh again. ### Config First let's increase the shared memory file size. ``` ./run.sh shm_size 24G ``` Next we'll need to modify the config file to work with our witness. Its located at `data/witness_node_data_dir/config.ini` directory. We'll want to modify that. ``` nano data/witness_node_data_dir/config.ini ``` Most of the values there are already good. If you want to modify anything go ahead if you know what you are doing. The place we want to modify is `witness = ` and `private-key = `. They are already commented out(line begins with `#`) so we can just go find them and delete the # at the start of the line. For the witness, you'll want to type in the username of the account that the witness will be running under. This value must go in quotes. The private key should be the private key that we generated from the cli wallet. This should not go in quotation marks. Use the image below as an example.  ### Starting Up We are going to start the node up, and to do that, run the following command ``` ./run.sh start ``` This does take some time, on my machine I mentioned above, it took about a day to sync to head. You can monitor what step of the process this is at by using `./run.sh logs`. Once the older blocks are synced up, it'll automatically start syncing up to live. You can check the sync progress using `./run.sh monitor`. It'll tell you how long it'll take to get synced up. Again this is a time to wait. You'll know that you are live when you see individual blocks being produced in `./run.sh logs`. That'll look like this:  The block numbers will be going up by one. Nows the big time, time to enable as a witness. ### Enabling Your Witness Let's enable the witness, you can do so using the wallet. Run the following to open it up: ``` ./run.sh wallet ``` Unlock the wallet with the password set before using `unlock 123` where 123 is the password. We'll want to import in your active key to sign the transaction that we'll be broadcasting. Find the private active_key using your preferred choice. If your private active key is 5KNrHHigj3PRurkm5moaV1XM3gWGrDZJJZCgPRL2FpBLjWy1obg you'd import it by typing in `import_key 5KNrHHigj3PRurkm5moaV1XM3gWGrDZJJZCgPRL2FpBLjWy1obg` Now we want to broadcast enabling the witness. Modify the following command to match what you want and type it into the wallet. Replace username with the name of your witness, the https://example.com part with the url you want to use for your witness and STM1111111111111111111111111111111114T1Anm with the public key generated for your private signing key when we first got into the wallet. Following that are your witness parameters, modify them to your liking, but these are the current standard ones being used by witnesses and so it's wise to follow along. ``` update_witness "username" "https://example.com" "STM1111111111111111111111111111111114T1Anm" {"account_creation_fee":"3.000 HIVE","maximum_block_size":65536,"hbd_interest_rate":0} true ``` After that gets broadcast, you are up and running as a witness. You can check that you are enabled somewhere like https://peakd.com/me/witnesses. The green ball means that you are enabled. Your version will not report to the version that you are using until you sign your first block so don't worry if it says 0.0.0. Just get the word out there that you are being a witness and get more votes.  I was following along on a fresh server and it took me 2 hours and 15 minutes to get to the point where I could broadcast the enable witness transaction. The latest updates and the work from someguy to make HIAB exist has made it a lot easier to be a witness. ### Future & Questions You'll want to setup a pricefeed and failover script as well. For pricefeed, I recommend someguy's hivefeed-js (can be found here https://github.com/someguy123/hivefeed-js) as well for failover script(watcher by therealwolf works https://github.com/therealwolf42/hive-witness-essentials/tree/master/essentials/watcher) As time goes on, you'll need to update. The update process might involve a replay or it might not. Hard forks involve a replay and soft forks usually don't. You can get information and ask questions about that in the Privex discord which can be found at http://discord.privex.io/. The server requirements might increase as well and you might need to upgrade that. <center> If you like what I do, feel free to vote for my witness https://vote.hive.uno/@rishi556 Looking for a server to host on? Check out <a href="https://ryamer.com">Ryamer</a> </center>
author | rishi556 |
---|---|
permlink | how-to-set-up-a-hive-witness-using-hiab-at-version-1-24-4 |
category | hive-139531 |
json_metadata | {"app":"peakd/2020.10.9","format":"markdown","image":["https://images.hive.blog/p/HuuaCwcKuiEjNgLb5Q7HbtUvB1HEHgck8hUkQMB4bFSJaxwFsYXGx7N9qtgEvLdGaoY?format=match&mode=fit","https://files.peakd.com/file/peakd-hive/rishi556/eSs2pI5W-Screen20Shot202020-11-0720at205.25.2920PM.png","https://files.peakd.com/file/peakd-hive/rishi556/znrDztKe-Screen20Shot202020-11-0720at205.29.0920PM.png","https://files.peakd.com/file/peakd-hive/rishi556/X9sITamf-Screen20Shot202020-11-0720at205.42.1720PM.png","https://files.peakd.com/file/peakd-hive/rishi556/dmpGRIr9-Screen20Shot202020-11-0720at206.58.2520PM.png","https://files.peakd.com/file/peakd-hive/rishi556/kaXmX4Yp-Screen20Shot202020-11-0720at207.09.3420PM.png"],"links":["/@someguy123","/@someguy123","https://github.com/someguy123/hive-docker","https://privex.io?r=rishi556","/@hextech","https://hub.docker.com/r/someguy123/hive/tags","/@hextech","https://example.com","https://peakd.com/me/witnesses","https://github.com/someguy123/hivefeed-js"],"tags":["witness","setup","hiab"],"users":["someguy123","hextech","rishi556"]} |
created | 2020-11-08 15:11:18 |
last_update | 2023-12-13 00:19:51 |
depth | 0 |
children | 90 |
last_payout | 2020-11-15 15:11:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 13.138 HBD |
curator_payout_value | 12.745 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 8,867 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,443,630 |
net_rshares | 104,351,037,735,472 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
blocktrades | 0 | 30,806,259,835,401 | 20% | ||
mammasitta | 0 | 12,585,801,879 | 2% | ||
roelandp | 0 | 230,055,441,681 | 5% | ||
matt-a | 0 | 6,628,309,976 | 14% | ||
bitshares101 | 0 | 60,132,745,996 | 25% | ||
fulltimegeek | 0 | 953,330,067,474 | 100% | ||
inertia | 0 | 1,472,831,201,956 | 100% | ||
raymonjohnstone | 0 | 0 | 100% | ||
brianphobos | 0 | 91,568,498,603 | 100% | ||
timcliff | 0 | 1,193,056,889,651 | 100% | ||
jphamer1 | 0 | 5,606,326,309,899 | 100% | ||
djennyfloro | 0 | 1,290,582,606 | 10% | ||
frankbacon | 0 | 132,415,702,540 | 100% | ||
someguy123 | 0 | 2,058,135,822,012 | 100% | ||
rishi556 | 0 | 4,406,903,104 | 100% | ||
gamer00 | 0 | 33,979,941,268 | 5% | ||
cardboard | 0 | 17,269,869,588 | 100% | ||
saleg25 | 0 | 2,774,801,641 | 20% | ||
privex | 0 | 57,354,774,563 | 60% | ||
sn0n | 0 | 39,960,144,143 | 100% | ||
ambyr00 | 0 | 4,082,781,658 | 0.75% | ||
borislavzlatanov | 0 | 145,689,221,595 | 100% | ||
titianus | 0 | 996,255,875 | 20% | ||
c0ff33a | 0 | 1,711,799,032,012 | 100% | ||
thatsweeneyguy | 0 | 728,183,001 | 20% | ||
kingkinslow | 0 | 3,841,856,691 | 20% | ||
scrooger | 0 | 39,838,014,276 | 35% | ||
khussan | 0 | 3,979,014,587 | 100% | ||
roomservice | 0 | 2,059,342,408,892 | 40% | ||
kennyroy | 0 | 1,207,311,976 | 20% | ||
tomaszs77 | 0 | 112,615,590,840 | 100% | ||
pibara | 0 | 252,050,351,059 | 100% | ||
ewkaw | 0 | 151,160,549,685 | 20% | ||
guchtere | 0 | 4,587,514,436 | 20% | ||
slickhustler007 | 0 | 3,543,508,685 | 100% | ||
samotonakatoshi | 0 | 1,854,795,753 | 100% | ||
kiokizz | 0 | 6,583,599,884 | 65% | ||
captainquack22 | 0 | 23,941,538,260 | 85% | ||
approximate | 0 | 1,687,379,801 | 65% | ||
sanjeevm | 0 | 281,503,734,005 | 30% | ||
macchiata | 0 | 6,562,200,120 | 20% | ||
redrica | 0 | 26,591,397,291 | 22% | ||
fbslo | 0 | 432,899,827,730 | 100% | ||
cconn | 0 | 558,345,829 | 20% | ||
blokz | 0 | 4,474,612,665 | 100% | ||
tomwafula | 0 | 531,252,401 | 20% | ||
circleoffriends | 0 | 1,045,899,836 | 100% | ||
deathwing | 0 | 140,992,826,294 | 60% | ||
omra-sky | 0 | 66,986,650,108 | 40% | ||
investegg | 0 | 340,238,682,911 | 8.1% | ||
dkid14 | 0 | 12,738,853,158 | 100% | ||
familyprotection | 0 | 1,095,204,595,685 | 100% | ||
postpromoter | 0 | 1,808,844,686,834 | 40% | ||
dizzyjay | 0 | 5,062,469,921 | 100% | ||
mytechtrail | 0 | 45,884,622,702 | 15% | ||
steembasicincome | 0 | 2,185,339,247,059 | 100% | ||
rpcaceres | 0 | 969,810,388 | 20% | ||
tomatom | 0 | 732,716,192 | 10% | ||
fourfourfun | 0 | 828,963,520 | 2.88% | ||
gabrielatravels | 0 | 7,170,148,567 | 4% | ||
edicted | 0 | 1,186,010,506,428 | 50% | ||
auracraft | 0 | 534,169,090 | 40% | ||
mattockfs | 0 | 20,833,195,915 | 100% | ||
cfminer | 0 | 556,183,982 | 100% | ||
icuz | 0 | 2,535,366,411 | 100% | ||
holger80 | 0 | 1,527,331,952,210 | 33% | ||
cadawg | 0 | 247,769,900,667 | 70% | ||
maxpatternman | 0 | 51,479,449 | 16.5% | ||
anikys3reasure | 0 | 3,634,078,523 | 50% | ||
darkpylon | 0 | 557,930,695 | 20% | ||
barge | 0 | 201,358,444,624 | 100% | ||
forester-joe | 0 | 7,272,637,238 | 14% | ||
jglake | 0 | 19,708,028,005 | 100% | ||
idkpdx | 0 | 259,913,935 | 10% | ||
frassman | 0 | 1,636,952,647 | 10% | ||
miroslavrc | 0 | 31,694,315,344 | 20% | ||
weberh8 | 0 | 6,970,067,540 | 100% | ||
schlafhacking | 0 | 378,822,160,295 | 100% | ||
sbi2 | 0 | 1,060,285,768,292 | 100% | ||
foxon | 0 | 455,973,110,962 | 100% | ||
sbi3 | 0 | 627,156,543,322 | 100% | ||
promobot | 0 | 10,457,258,697 | 11.55% | ||
sbi4 | 0 | 375,935,753,335 | 100% | ||
mollythegreat | 0 | 1,369,293,321 | 50% | ||
simplegame | 0 | 42,552,441,617 | 100% | ||
sbi5 | 0 | 300,206,680,880 | 100% | ||
apshamilton | 0 | 315,908,763,495 | 100% | ||
sbi6 | 0 | 293,320,015,852 | 100% | ||
ocdb | 0 | 33,646,970,950,603 | 40% | ||
hamismsf | 0 | 509,952,292,126 | 100% | ||
yaelg | 0 | 42,427,973,109 | 90% | ||
sbi7 | 0 | 196,823,055,456 | 100% | ||
luppers | 0 | 3,809,668,591 | 0.3% | ||
fullnodeupdate | 0 | 11,109,145,366 | 33% | ||
upvoteshares | 0 | 54,515,937,253 | 20% | ||
sbi8 | 0 | 210,764,192,956 | 100% | ||
sbi9 | 0 | 122,961,019,250 | 100% | ||
actnearn | 0 | 1,386,056,461,569 | 100% | ||
kristall97 | 0 | 164,616,968,439 | 60% | ||
maonx | 0 | 4,748,032,715 | 40% | ||
cwow2 | 0 | 78,537,035,358 | 10% | ||
sbi10 | 0 | 122,509,726,631 | 100% | ||
incinboost | 0 | 3,224,276,526 | 4.7% | ||
jpbliberty | 0 | 442,431,591,751 | 100% | ||
variedades | 0 | 5,653,595,482 | 16% | ||
bluerobo | 0 | 129,899,392,883 | 100% | ||
sm-lvl1 | 0 | 806,137,483 | 65% | ||
whiterosecoffee | 0 | 14,743,382,363 | 50% | ||
sm-starter-beta | 0 | 586,723,625 | 65% | ||
darhainer | 0 | 835,446,018 | 65% | ||
giftgiver | 0 | 246,727,646,004 | 100% | ||
bewithbreath | 0 | 1,326,427,075 | 5% | ||
memehub | 0 | 4,021,125,438,847 | 100% | ||
raspibot | 0 | 3,774,987,054 | 100% | ||
helgalubevi | 0 | 2,617,197,241 | 10% | ||
akumagai | 0 | 6,553,905,718 | 20% | ||
likwid | 0 | 84,786,895,117 | 11.55% | ||
leighscotford | 0 | 907,798,292 | 2% | ||
cryptogambit | 0 | 1,444,869,138 | 7.5% | ||
sbi-tokens | 0 | 9,807,028,632 | 35.19% | ||
espni | 0 | 1,521,422,836 | 65% | ||
smartscheme | 0 | 7,453,134,679 | 100% | ||
dappstats | 0 | 3,628,456,958 | 15% | ||
qwertm | 0 | 3,044,434,465 | 50% | ||
samotrader | 0 | 237,162,186 | 100% | ||
dec-market | 0 | 2,078,259,384 | 65% | ||
ragequitter | 0 | 800,239,429 | 65% | ||
davidlionfish | 0 | 12,747,576,624 | 50% | ||
mehmetfix | 0 | 16,915,245,938 | 25% | ||
foxoff | 0 | 6,454,975,843 | 100% | ||
thefoxxer | 0 | 18,477,529,559 | 50% | ||
hesoyam | 0 | 512,982,308 | 100% | ||
asnaeb | 0 | 513,722,315 | 100% | ||
baguvix | 0 | 513,667,280 | 100% | ||
blue-witness | 0 | 2,964,600,327 | 100% | ||
walarhein | 0 | 7,604,594,761 | 36% | ||
hivetrending | 0 | 206,325,773,898 | 100% | ||
nulledgh0st | 0 | 1,383,327,015,723 | 100% | ||
equeqtra | 0 | 684,321,305 | 100% | ||
gradeon | 0 | 651,187,745 | 10% | ||
hextech | 0 | 4,150,153,925 | 33% | ||
hivelist | 0 | 9,136,003,307 | 10% | ||
ninnu | 0 | 67,364,572,926 | 15% | ||
kiemis | 0 | 9,826,490,750 | 2.5% | ||
localgrower | 0 | 1,605,318,276 | 3% | ||
jsalvage | 0 | 1,159,587,100 | 20% | ||
pdnejoh | 0 | 1,250,735,084 | 100% | ||
patronpass | 0 | 567,080,304 | 20% | ||
patagonica | 0 | 17,796,588,559 | 100% | ||
splinterstats | 0 | 1,605,821,703 | 65% | ||
syberia | 0 | 828,458,402 | 20% | ||
xvlad | 0 | 0 | 100% | ||
gohive | 0 | 39,699,523,168 | 100% | ||
spirall | 0 | 4,371,018,741 | 20% | ||
bitcome | 0 | 875,480,357 | 20% | ||
gonklavez9 | 0 | 774,269,766 | 40% | ||
mecurry | 0 | 851,216,103 | 100% | ||
text2speech | 0 | 663,112,806 | 40% | ||
kattycrochet | 0 | 1,540,608,059 | 20% | ||
brofund-stem | 0 | 3,051,840,052 | 100% | ||
betterdev | 0 | 78,651,344,916 | 100% |
Greetings @rishi556 ! Thank you very much for sharing this post. I have a question, I hope you can help me. >Find the private active_key using your preferred choice. If your private active key is 5KNrHHigj3PRurkm5moaV1XM3gWGrDZJJZCgPRL2FpBLjWy1obg you'd import it by typing in **import_key 5KNrHHigj3PRurkm5moaV1XM3gWGrDZJJZCgPRL2FpBLjWy1obg** By this, do you mean the private active key of the witness account, or the same one generated in the previous step, when we did "suggest_brain_key"? The witness already has more than 24 hours synchronized and printing the lines that I indicate in the image  And he's active on the witness list.  Do you think everything is fine?
author | alberto0607 |
---|---|
permlink | re-rishi556-2023618t12335209z |
category | hive-139531 |
json_metadata | {"tags":["witness","setup","hiab"],"app":"ecency/3.0.32-vision","format":"markdown+html"} |
created | 2023-06-18 17:33:06 |
last_update | 2023-06-18 17:33:06 |
depth | 1 |
children | 5 |
last_payout | 2023-06-25 17:33:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.070 HBD |
curator_payout_value | 0.070 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 858 |
author_reputation | 85,381,778,745,006 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 124,566,891 |
net_rshares | 315,563,493,499 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
rishi556 | 0 | 6,342,700,294 | 20% | ||
giftgiver | 0 | 50,380,955,193 | 20% | ||
hextech | 0 | 63,437,401,379 | 20% | ||
mafia.wallet | 0 | 4,328,917,118 | 20% | ||
nftmart | 0 | 22,706,362,492 | 20% | ||
betterdev | 0 | 160,516,144,884 | 20% | ||
h-e | 0 | 0 | 20% | ||
thecouncil | 0 | 7,826,465,978 | 20% | ||
rishi556.engine | 0 | 24,546,161 | 20% |
> By this, do you mean the private active key of the witness account, or the same one generated in the previous step, when we did "suggest_brain_key"? You'll want to import your private active key first to be able to broadcast the operation to enable your witness, I also recommend importing the key from `suggest_brain_key` as some CLI commands use it(witness_update actions I believe is what they are called). > The witness already has more than 24 hours synchronized and printing the lines that I indicate in the image That's normal. It's just how your node is spending most of its, time, it's mostly idle, which is good since it's not getting overloaded. > Do you think everything is fine? As long as your key is correct in the config.ini(most common issue I've seen people do), you are good to go. Now go out there and get more votes, best of luck to you.
author | rishi556 |
---|---|
permlink | re-alberto0607-rwgm9f |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2023.6.5"} |
created | 2023-06-18 17:36:51 |
last_update | 2023-06-18 17:36:51 |
depth | 2 |
children | 4 |
last_payout | 2023-06-25 17:36:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 868 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 124,566,974 |
net_rshares | 0 |
I already imported the private active key of the witness project, I have not imported the ones I generated with suggest_brain_key, although I did write it in the config.ini file. So import the one from suggest_brain_key, and everything is ready, or is it not necessary now?
author | alberto0607 |
---|---|
permlink | re-rishi556-2023618t12433155z |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"ecency/3.0.32-vision","format":"markdown+html"} |
created | 2023-06-18 17:43:03 |
last_update | 2023-06-18 17:43:03 |
depth | 3 |
children | 3 |
last_payout | 2023-06-25 17:43:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 274 |
author_reputation | 85,381,778,745,006 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 124,567,070 |
net_rshares | 0 |
Thanks for this. I'm in the process of running HIAB using Docker Desktop on a Windows 10 Home machine using WLS 2 (thanks @themarkymark). I'd do a post when its all working. My machine is quite a beast - 112 Gb RAM with 6/12 core Intel i76800k CPU, 500 Gb NVME SSD & 500 Gb SATA SSD - so I'm thinking of turning this into an API node and then running a witness on a second, lighter machine. What changes do I need to make to do that?
author | apshamilton |
---|---|
permlink | re-rishi556-qjn3vu |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.10.9"} |
created | 2020-11-11 16:16:42 |
last_update | 2020-11-11 16:16:42 |
depth | 1 |
children | 2 |
last_payout | 2020-11-18 16:16:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 436 |
author_reputation | 212,404,184,641,750 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,486,062 |
net_rshares | 0 |
I haven't ran it on a windows machine, but you should be able to make a few changes to get it running. If you are planning on running a node with both account history and hivemind I don't think thats enough storage(I think its like 600 GB for account history and like 1.2 TB total for a fullnode with hive mind). First thing you would want to do is instead of using `./run.sh install` which installs the low memory version, you'd need to get the full build which will be `./run.sh install v1.24.6` (if there is a more recent version that someguy has built, just replace it). Then you'd have to change the plugins on the config files to have all the ones that you'd want, so that means adding in account history and the rest. I have no idea how to startup a hivemind instance so you should check with someone else on that. Here's the full instructions that someguy provided onto the privex discord server. If you decide to go for a replay instead of loading up from a snapshot, you can just get the block_log and the index for that and go from there with a replay. ``` SNAP_BC="rsync://rpc-snapshots.privex.io/snapshot/eclipse_snap02nov2020_0709/blockchain" SNAP_SHM="rsync://rpc-snapshots.privex.io/snapshot/eclipseshm_snap02nov2020_0709" # Adjust BC_DIR to point to where-ever your RPC's blockchain folder is located at. Make sure there IS NOT a slash at the end. BC_DIR="/hive/data/witness_node_data_dir/blockchain" # Adjust SHM_DIR to point to where-ever your RPC's shared_memory folder is located at. Make sure there IS NOT a slash at the end. SHM_DIR="/hive/data/shm" # If your block_log is LARGER than 314,456,788,576 bytes, you'll need to truncate it truncate -s 314456788576 "${BC_DIR}/block_log" # If your block_log is SMALLER than 314,456,788,576 bytes, you'll need to use rsync --append to catch up to the correct block_log size from the server rsync -avh --progress --append "${SNAP_BC}/block_log" "${BC_DIR}/block_log" # Replace your block_log.index rsync -avIh --progress "${SNAP_BC}/block_log.index" "${BC_DIR}/block_log.index" # Synchronise your account history folder, with --delete to delete any files inside of your local folder that don't exist on the server rsync -avh --progress --delete "${SNAP_BC}/account-history-rocksdb-storage/" "${BC_DIR}/account-history-rocksdb-storage/" # Synchronise your shared_memory.bin file, using --sparse so that the file is efficiently allocated on disk / in memory (tells your filesystem to treat null bytes as free space) rsync -avIh --progress --sparse "${SNAP_SHM}/shared_memory.bin" "${SHM_DIR}/shared_memory.bin" # Grab my 1.24.6 docker image and start it up :) ./run.sh install v1.24.6 ./run.sh start ```
author | rishi556 |
---|---|
permlink | re-apshamilton-qjnjaa |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.11.1"} |
created | 2020-11-11 21:49:21 |
last_update | 2020-11-11 21:49:21 |
depth | 2 |
children | 1 |
last_payout | 2020-11-18 21:49:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.020 HBD |
curator_payout_value | 0.020 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,672 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,489,909 |
net_rshares | 318,347,801,101 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
stimialiti | 0 | -13,028,758,722 | -100% | ||
fersher | 0 | -1,323,176,301 | -100% | ||
slowgrow | 0 | -1,080,479,277 | -100% | ||
apshamilton | 0 | 334,152,918,020 | 100% | ||
atempt | 0 | -372,702,619 | -100% |
Thanks for this. I'm going to start with a regular witness node to get the hang of things. I got the block_log 85% downloaded when rsynch reported no disk space. I checked in Windows and I still had over 100Gb free. Turns out WSL 2 limits the size of the virtual hard disk to 256 Gb. But I worked out how to make it bigger so downloading again. I'm going to buy some more SSDs.
author | apshamilton |
---|---|
permlink | re-rishi556-qjof2e |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.10.9"} |
created | 2020-11-12 09:15:51 |
last_update | 2020-11-12 09:15:51 |
depth | 3 |
children | 0 |
last_payout | 2020-11-19 09:15:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 381 |
author_reputation | 212,404,184,641,750 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,495,602 |
net_rshares | 0 |
Now that I've got my witness node running I want to be able to take snapshots so I can restart easily in case of computer reboot. How do I do that?
author | apshamilton |
---|---|
permlink | re-rishi556-qjq5bj |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.11.1"} |
created | 2020-11-13 07:40:33 |
last_update | 2020-11-13 07:40:33 |
depth | 1 |
children | 1 |
last_payout | 2020-11-20 07:40:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 147 |
author_reputation | 212,404,184,641,750 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,508,715 |
net_rshares | 0 |
I think you have to stop running it first(I haven't tried it yet) then run `./run.sh dump_snap SNAPSHOTNAME`. Then it'll be located within `data/witness_node_data_dir/snapshot/` with the name that you chose.
author | rishi556 |
---|---|
permlink | re-apshamilton-qjqkuj |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.11.1"} |
created | 2020-11-13 13:15:54 |
last_update | 2020-11-13 13:15:54 |
depth | 2 |
children | 0 |
last_payout | 2020-11-20 13:15:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 207 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,511,591 |
net_rshares | 0 |
I tried to get my node going and my container would not start for some reason. Here is the "docker logs" output. Any diagnostic input would be greatly appreciated. *** [33m894328ms p2p_plugin.cpp:603 plugin_initialize ] caught exception 0 exception: unspecified process exited with: Host not found (authoritative) {"message":"Host not found (authoritative)"} asio.cpp:88 resolve_handler {} asio.cpp:168 resolve {"endpoint_string":"seed.buildteam.io:2001"} p2p_plugin.cpp:76 resolve_string_to_ip_endpoints while adding seed node seed.buildteam.io:2001 [0m [33m894723ms p2p_plugin.cpp:603 plugin_initialize ] caught exception 0 exception: unspecified process exited with: Host not found (authoritative) {"message":"Host not found (authoritative)"} asio.cpp:88 resolve_handler {} asio.cpp:168 resolve {"endpoint_string":"seed.chitty.me:2001"} p2p_plugin.cpp:76 resolve_string_to_ip_endpoints while adding seed node seed.chitty.me:2001 [0m [0m894739ms rc_plugin.cpp:1174 plugin_initialize ] Initializing resource credit plugin [0m [0m894740ms rc_plugin.cpp:1242 plugin_initialize ] RC's will be computed starting at block 26256743 [0m [0m894740ms witness_plugin.cpp:481 plugin_initialize ] Initializing witness plugin [0m [0m894742ms account_by_key_plugin.cpp:281 plugin_initialize ] Initializing account_by_key plugin [0m [0m894743ms state_snapshot_plugin.cpp:1428 plugin_initialize ] Initializing state_snapshot_plugin... [0m [0m894743ms state_snapshot_plugin.cpp:894 impl ] Registering add_prepare_snapshot_handler... [0m [0m894743ms webserver_plugin.cpp:460 plugin_initialize ] configured with 4 thread pool size [0m [0m894744ms webserver_plugin.cpp:469 plugin_initialize ] configured http to listen on 0.0.0.0:8091 [0m [0m894744ms webserver_plugin.cpp:486 plugin_initialize ] configured ws to listen on 0.0.0.0:8090 [0m ------------------------------------------------------ @ @@@@@@ ,@@@@@% @@@@ (@@@@@* @@@@@@ %@@@@@@ @@@@@@ %@@@@@, @@@@@@@@@@ @@@@@@ @@@@@@ ,@@@@@@@@@@@@ @@@@@@ @@@@@@ @@@@@@@@@@@@@@@& @@@@@@ @@@@@@ @@@@@@@@@@@@@@@@@@ .@@@@@% @@@@@@ @@@@@@@@@@@@@@@@@@@@@( .@@@@@% @@@@@@@@@@@@@@@@@@@@ @@@@@@ *@@@@@@@@@@@@@@@@ @@@@@@ @@@@@@. @@@@@@@@@@@@@@ &@@@@@. @@@@@@ #@@@@@@@@@@ @@@@@@ #@@@@@/ @@@@@@@@ /@@@@@/ @@@@@@ @@@@@( @@@@@@ .@@@@@& @@ @@@@@& @@@@@@ STARTING HIVE NETWORK ------------------------------------------------------ initminer public key: STM8GC13uCZbP44HzMLV6zPZGwVQ8Nt4Kji8PapsPiNq1BK153XTX chain id: 0000000000000000000000000000000000000000000000000000000000000000 blockchain version: 1.25.0 ------------------------------------------------------ hived git_revision: "b597ef7247f139a71d8ee41087fe430382a8b36a" [0m894747ms main.cpp:141 main ] Backtrace on segfault is enabled. [0m Setting up a startup_io_handler... [0m894747ms chain_plugin.cpp:720 plugin_startup ] Chain plugin initialization... [0m [0m894747ms chain_plugin.cpp:413 initial_settings ] Starting chain with shared_file_size: 26843545600 bytes [0m [0m894748ms chain_plugin.cpp:724 plugin_startup ] Database opening... [0m [0m894748ms chain_plugin.cpp:529 open ] Opening shared memory from /shm/ [0m Compiler and build environment read from persistent storage: `{"compiler":"7.5.0", "debug":0, "apple":0, "windows":0, "version" : { "hive_blockchain_hard_fork" : "1.25.0", "hive_git_revision" : "b597ef7247f139a71d8ee41087fe430382a8b36a" }, "plugins" : ["account_by_key", "account_by_key_api", "block_api", "chain", "condenser_api", "database_api", "json_rpc", "network_broadcast_api", "p2p", "rc", "state_snapshot", "webserver", "witness"]}' [0m894750ms block_log.cpp:185 open ] Log is nonempty [0m [0m894752ms block_log.cpp:190 open ] Index is nonempty [0m [0m894753ms database.cpp:170 open ] Opened a blockchain database holding a state specific to head block: 0 and last irreversible block: 0 [0m [0m894754ms database.cpp:183 operator() ] Blockchain state database is AT IRREVERSIBLE state specific to head block: 0 and LIB: 0 [0m [0m894754ms chain_plugin.cpp:727 plugin_startup ] Snapshot processing... [0m [0m894755ms chain_plugin.cpp:741 plugin_startup ] Consistency data checking... [0m [33m894755ms chain_plugin.cpp:516 check_data_consisten ] Replaying is not finished. Synchronization is not allowed. { "block_log-head": 55089686, "state-head": 0 } [0m [0m894755ms chain_plugin.cpp:762 plugin_startup ] Chain plugin initialization finished... [0m Entering application main loop... performing shutdown on interrupt request... Shutting down... [0m894756ms chain_plugin.cpp:767 plugin_shutdown ] closing chain database [0m [0m894756ms database.cpp:437 close ] Closing database [0m [0m894756ms database.cpp:448 close ] Database flushed at last irreversible block: 0 [0m [0m894756ms database.cpp:456 close ] Database is closed [0m [0m894756ms chain_plugin.cpp:770 plugin_shutdown ] database closed successfully [0m Leaving application main loop... exited cleanly
author | borepstein |
---|---|
permlink | re-rishi556-rae2p7 |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2022.04.5"} |
created | 2022-04-15 16:19:57 |
last_update | 2022-04-15 16:19:57 |
depth | 1 |
children | 0 |
last_payout | 2022-04-22 16:19:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5,888 |
author_reputation | 344,312,488,177,834 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 112,325,154 |
net_rshares | 0 |
I am trying to figure it out and so far am not having all that much luck. Here's the latest update on that experience. https://peakd.com/hive-169321/@borepstein/hiab-hive-in-a-box--20-april-update I wonder what I may be doing wrong.
author | borepstein |
---|---|
permlink | re-rishi556-rb7rbd |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2022.04.6"} |
created | 2022-05-01 17:02:03 |
last_update | 2022-05-01 17:02:03 |
depth | 1 |
children | 1 |
last_payout | 2022-05-08 17:02:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.034 HBD |
curator_payout_value | 0.032 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 235 |
author_reputation | 344,312,488,177,834 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 112,812,787 |
net_rshares | 71,650,203,892 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
rishi556 | 0 | 1,194,052,047 | 5% | ||
giftgiver | 0 | 5,002,455,370 | 5% | ||
hextech | 0 | 10,288,845,334 | 5% | ||
mafia.wallet | 0 | 2,007,250,417 | 5% | ||
nftmart | 0 | 3,901,002,544 | 5% | ||
betterdev | 0 | 48,765,457,998 | 5% | ||
thecouncil | 0 | 491,140,182 | 5% |
Made a comment on the post for anyone else wondering.
author | rishi556 |
---|---|
permlink | re-borepstein-rb7z10 |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2022.04.6"} |
created | 2022-05-01 19:48:36 |
last_update | 2022-05-01 19:48:36 |
depth | 2 |
children | 0 |
last_payout | 2022-05-08 19:48:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.024 HBD |
curator_payout_value | 0.025 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 54 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 112,817,128 |
net_rshares | 51,594,223,123 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
borepstein | 0 | 51,594,223,123 | 100% |
This is a good run down for HIAB - it's an easy starting point for anyone setting up their own server. I started using @drakos price feed it's simple and reliable https://github.com/Jolly-Pirate/pricefeed
author | c0ff33a |
---|---|
permlink | re-rishi556-qji22m |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.10.9"} |
created | 2020-11-08 22:49:36 |
last_update | 2020-11-08 22:49:36 |
depth | 1 |
children | 1 |
last_payout | 2020-11-15 22:49:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 204 |
author_reputation | 472,874,864,646,656 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,448,816 |
net_rshares | 0 |
I recommended the one from someguy because I work on it from time to time and so I'm more familiar with it.
author | rishi556 |
---|---|
permlink | re-c0ff33a-qjicsb |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.10.9"} |
created | 2020-11-09 02:41:00 |
last_update | 2020-11-09 02:41:00 |
depth | 2 |
children | 0 |
last_payout | 2020-11-16 02:41:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 107 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,450,949 |
net_rshares | 0 |
Thank you for this great guide, but you're missing an important line item: users need to invoke `./run.sh shm_size <size>` to prevent the hive node from crashing. I'm not sure what the necessary size is nowadays but I believe it's at least 25GB. Can you please add this to the guide?
author | cowwoc |
---|---|
permlink | re-rishi556-rgeq0o |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2022.07.1"} |
created | 2022-08-10 16:05:15 |
last_update | 2022-08-10 16:05:15 |
depth | 1 |
children | 1 |
last_payout | 2022-08-17 16:05:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 283 |
author_reputation | 0 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 115,605,127 |
net_rshares | 0 |
~~I haven't run into any shared memory size issues during my time running HIAB.~~ Update, did notice this happen on Privex NIAB, which came with 19G SHM by default, and we resolved that by upping to 25G, and HIAB had been upped to that at some point in the past.
author | rishi556 |
---|---|
permlink | re-cowwoc-rknnba |
category | hive-139531 |
json_metadata | {"app":"peakd/2022.10.3","tags":["hive-139531"]} |
created | 2022-11-01 05:59:33 |
last_update | 2023-06-18 17:38:45 |
depth | 2 |
children | 0 |
last_payout | 2022-11-08 05:59:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 262 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 117,960,948 |
net_rshares | 0 |
Hi, my blockchain version is 1.25.0 ./run.sh dlblocks --> is up to date ./run.sh replay --> last step is database.cpp:5884 apply_hardfork HARDFORK 11 at block 3276913 ./run.sh start --> return the following error : 1174662ms database.cpp:170 open ] Opened a blockchain database holding a state specific to head block: 3348714 and last irreversible block: 3348691 1174670ms database.cpp:183 operator() ] Blockchain state database is AT IRREVERSIBLE state specific to head block: 3348714 and LIB: 3348691 1174672ms database.cpp:248 open ] 10 assert_exception: Assert Exception revision() == head_block_num(): Chainbase revision does not match head block num. {"rev":0,"head_block":3348714} database.cpp:192 operator() 1174672ms database.cpp:248 open ] args.data_dir: /steem/witness_node_data_dir/blockchain args.shared_mem_dir: /shm/ args.shared_file_size: 26843545600 1174675ms chain_plugin.cpp:538 open ] Error opening database. If the binary or configuration has changed, replay the blockchain explicitly using `--replay-blockchain`. 1174675ms chain_plugin.cpp:539 open ] If you know what you are doing you can skip this check and force open the database using `--force-open`. 1174675ms chain_plugin.cpp:540 open ] WARNING: THIS MAY CORRUPT YOUR DATABASE. FORCE OPEN AT YOUR OWN RISK. 1174675ms chain_plugin.cpp:541 open ] Error: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"database.cpp","line":192,"method":"operator()","hostname":"","timestamp":"2021-12-16T19:19:34"},"format":"revision() == head_block_num(): Chainbase revision does not match head block num.","data":{"rev":0,"head_block":3348714}},{"context":{"level":"warn","file":"database.cpp","line":248,"method":"open","hostname":"","timestamp":"2021-12-16T19:19:34"},"format":"rethrow","data":{"args.data_dir":"/steem/witness_node_data_dir/blockchain","args.shared_mem_dir":"/shm/","args.shared_file_size":"26843545600"}}]} any idea ? Thanks
author | mammouth |
---|---|
permlink | re-rishi556-r483ow |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2021.09.1"} |
created | 2021-12-16 19:34:09 |
last_update | 2021-12-16 19:34:09 |
depth | 1 |
children | 1 |
last_payout | 2021-12-23 19:34:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,193 |
author_reputation | 82,035,819,099 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 108,614,558 |
net_rshares | 0 |
I just ran into this. You need to invoke `./run.sh shm_size 25G` or maybe even `30G` to avoid the hive node from crashing and corrupting the database this way.
author | cowwoc |
---|---|
permlink | re-mammouth-rgeq2e |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2022.07.1"} |
created | 2022-08-10 16:06:15 |
last_update | 2022-08-10 16:06:15 |
depth | 2 |
children | 0 |
last_payout | 2022-08-17 16:06:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 159 |
author_reputation | 0 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 115,605,146 |
net_rshares | 0 |
Sweet, Ill prob set up a witness sometime soon .. just snowballing myself there
author | memehub |
---|---|
permlink | re-rishi556-qjj7ao |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.10.9"} |
created | 2020-11-09 13:38:48 |
last_update | 2020-11-09 13:38:48 |
depth | 1 |
children | 7 |
last_payout | 2020-11-16 13:38:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 79 |
author_reputation | 62,861,005,302,918 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,456,742 |
net_rshares | 0 |
Good luck. Setting up is very easy :) Getting the votes is soooooooo much harder.
author | rishi556 |
---|---|
permlink | re-memehub-qjjwrq |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.10.9"} |
created | 2020-11-09 22:50:15 |
last_update | 2020-11-09 22:50:15 |
depth | 2 |
children | 5 |
last_payout | 2020-11-16 22:50:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 81 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,462,993 |
net_rshares | 0 |
Ive heard talk about resetting the witness votes in a future HF
author | memehub |
---|---|
permlink | re-rishi556-qjkxus |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.10.9"} |
created | 2020-11-10 12:10:03 |
last_update | 2020-11-10 12:10:03 |
depth | 3 |
children | 4 |
last_payout | 2020-11-17 12:10:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 63 |
author_reputation | 62,861,005,302,918 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,469,724 |
net_rshares | 0 |
Hive is shit- and Steem's course is soon 50% higher than HIVE's. And are you all still happy here ? You have been lured here by a gang of power obsessed witnesses, who only wanted to enrich themselves and also have been lured here on the chain that is doomed to perdition. 
author | steem-bootcamp |
---|---|
permlink | qjugxa |
category | hive-139531 |
json_metadata | {"image":{},"app":"hiveblog/0.1"} |
created | 2020-11-15 15:41:36 |
last_update | 2020-11-15 15:41:36 |
depth | 2 |
children | 0 |
last_payout | 2020-11-22 15:41:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 310 |
author_reputation | 5,380,630,314,722 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,541,178 |
net_rshares | -6,121,059,510 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
rishi556 | 0 | -6,121,059,510 | -100% |
Glad I found this. Incredibly helpful! 🙌
author | muncherelli |
---|---|
permlink | re-rishi556-qq17e8 |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2021.03.7"} |
created | 2021-03-15 22:20:57 |
last_update | 2021-03-15 22:20:57 |
depth | 1 |
children | 0 |
last_payout | 2021-03-22 22:20:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 41 |
author_reputation | 155,025,157,514 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 102,389,527 |
net_rshares | 0 |
What is the network traffic requirements for a witness node on a monthly basis?
author | mytechtrail |
---|---|
permlink | re-rishi556-qjppe4 |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.11.1"} |
created | 2020-11-13 01:56:06 |
last_update | 2020-11-13 01:56:06 |
depth | 1 |
children | 3 |
last_payout | 2020-11-20 01:56:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 79 |
author_reputation | 18,997,364,795,810 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,506,603 |
net_rshares | 0 |
Haven't really measured that. Setting up you'll eat up like 350 GB downloading everything you need. Day to day running is a lot less.  I've attached my network traffic graph for the last hour. I can't really tell how often its being transferred but I'm guessing per second, and using that as an estimate, its about 70 GB/month which really isn't bad at all. (30 kb/sec * 60 sec/min * 60 min/hour * 24/hour/day * 30 day/month).
author | rishi556 |
---|---|
permlink | re-mytechtrail-qjpsth |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.11.1"} |
created | 2020-11-13 03:10:30 |
last_update | 2020-11-13 03:10:30 |
depth | 2 |
children | 2 |
last_payout | 2020-11-20 03:10:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 576 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,507,134 |
net_rshares | 46,748,946,409 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
mytechtrail | 0 | 46,748,946,409 | 15% |
Do you have a transaction log for how many requests you get during that timeframe.
author | mytechtrail |
---|---|
permlink | re-rishi556-qjpvbj |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.11.1"} |
created | 2020-11-13 04:04:33 |
last_update | 2020-11-13 04:04:33 |
depth | 3 |
children | 1 |
last_payout | 2020-11-20 04:04:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 82 |
author_reputation | 18,997,364,795,810 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,507,474 |
net_rshares | 0 |
This is honestly awesome and very tempting for me to finally pull the trigger on launching a node myself Posted using [Dapplr](https://app.dapplr.in/yUMD6i5Swwhx5t8L7)
author | nulledgh0st | ||||||
---|---|---|---|---|---|---|---|
permlink | thisishonestlyawesomeandv-167r687442554717618176211p6054x1 | ||||||
category | hive-139531 | ||||||
json_metadata | {"app":"dapplr","format":"markdown","tags":["dapplr"],"media":[],"users_tagged":[]} | ||||||
created | 2020-11-08 17:49:18 | ||||||
last_update | 2020-11-08 17:49:18 | ||||||
depth | 1 | ||||||
children | 2 | ||||||
last_payout | 2020-11-15 17:49:18 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 170 | ||||||
author_reputation | 28,154,041,116,036 | ||||||
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 100,445,387 | ||||||
net_rshares | 0 |
Setting up a node isn't too hard. Its maintaining it and campaigning for votes. Good luck if you decide to take the plunge.
author | rishi556 |
---|---|
permlink | re-nulledgh0st-qjhx2y |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.10.9"} |
created | 2020-11-08 21:01:48 |
last_update | 2020-11-08 21:01:48 |
depth | 2 |
children | 1 |
last_payout | 2020-11-15 21:01:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 124 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,447,645 |
net_rshares | 0 |
Well, I know for a fact I wouldn't win the popularity contest for votes here (at least not yet) considering the amount of tight-knit mega whales there are - but, I would do it solely for the benefit of the community. I know it'd be a resource drain, but I'd simply ask for donations or just upvotes on posts/client posts to make it work. Otherwise, I pay and it's cool - that's that. Sometimes, people have to act selflessly for the greater good, and I feel this is one of them (even if in just a very small way).
author | nulledgh0st |
---|---|
permlink | re-rishi556-qji11p |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.10.9"} |
created | 2020-11-08 22:27:12 |
last_update | 2020-11-08 22:27:12 |
depth | 3 |
children | 0 |
last_payout | 2020-11-15 22:27:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 514 |
author_reputation | 28,154,041,116,036 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,448,611 |
net_rshares | 0 |
Heh, you beat me to it. Great guide, I've reblogged it so most HIAB users will find it :)
author | someguy123 |
---|---|
permlink | re-rishi556-qjicnf |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.10.9"} |
created | 2020-11-09 02:38:03 |
last_update | 2020-11-09 02:38:03 |
depth | 1 |
children | 0 |
last_payout | 2020-11-16 02:38:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.242 HBD |
curator_payout_value | 0.069 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 90 |
author_reputation | 103,945,664,283,580 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 100,450,899 |
net_rshares | 2,990,030,065,413 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fulltimegeek | 0 | 972,770,761,034 | 100% | ||
someguy123 | 0 | 2,017,259,304,379 | 100% |
Hi @rishi556, @hextech or @someguy123, I started the remote wallet, but the set_password command is "not found" - what should I do?
author | stayoutoftherz |
---|---|
permlink | re-rishi556-rlp8o4 |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2022.11.1"} |
created | 2022-11-21 13:12:03 |
last_update | 2022-11-21 13:12:03 |
depth | 1 |
children | 48 |
last_payout | 2022-11-28 13:12:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 131 |
author_reputation | 1,307,731,007,232,572 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 118,504,166 |
net_rshares | 0 |
Try using the local wallet if that doesn't work(./run.sh wallet). Can I get a screenshot of the error message as I haven't seen that before.
author | rishi556 |
---|---|
permlink | re-stayoutoftherz-rlp996 |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2022.11.1"} |
created | 2022-11-21 13:24:42 |
last_update | 2022-11-21 13:24:42 |
depth | 2 |
children | 47 |
last_payout | 2022-11-28 13:24:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.044 HBD |
curator_payout_value | 0.044 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 140 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 118,504,438 |
net_rshares | 184,288,553,376 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
stayoutoftherz | 0 | 184,288,553,376 | 2% |
 And when I tried the local wallet, this happened: 
author | stayoutoftherz |
---|---|
permlink | re-rishi556-rlp9jf |
category | hive-139531 |
json_metadata | {"tags":"hive-139531"} |
created | 2022-11-21 13:30:51 |
last_update | 2022-11-21 13:32:42 |
depth | 3 |
children | 46 |
last_payout | 2022-11-28 13:30:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 338 |
author_reputation | 1,307,731,007,232,572 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 118,504,609 |
net_rshares | 0 |
@rishi556 I followed the steps, but getting this error after the steps of import_key. error. ./run.sh: line 1836: STEEM_RUN_ARGS[@]: unbound variable Why the heck steem still exist? Any idea why?
author | yehey |
---|---|
permlink | qmf03i |
category | hive-139531 |
json_metadata | {"users":["rishi556"],"app":"hiveblog/0.1"} |
created | 2021-01-04 14:54:54 |
last_update | 2021-01-04 15:24:24 |
depth | 1 |
children | 3 |
last_payout | 2021-01-11 14:54:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 198 |
author_reputation | 22,184,787,552,504 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 101,215,628 |
net_rshares | 0 |
Thats a thing from hive-docker and @someguy123 being lazy and not renaming everything to Hive. For importing key, it should be done once you start wallet (`./run.sh wallet` or `./run.sh remote_wallet` if your local node isn't synced up yet). Then unlock it and then do `import_key 5XYZ...`.
author | rishi556 |
---|---|
permlink | re-yehey-qmf5ub |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.12.3"} |
created | 2021-01-04 16:59:00 |
last_update | 2021-01-04 16:59:00 |
depth | 2 |
children | 2 |
last_payout | 2021-01-11 16:59:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 290 |
author_reputation | 132,030,433,979,940 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 101,217,355 |
net_rshares | 0 |
I think I will start over.
author | yehey |
---|---|
permlink | qmf78d |
category | hive-139531 |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2021-01-04 17:29:03 |
last_update | 2021-01-04 17:29:03 |
depth | 3 |
children | 1 |
last_payout | 2021-01-11 17:29:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 26 |
author_reputation | 22,184,787,552,504 |
root_title | "How To Set Up A Hive Witness Using HIAB At Version 1.27.2" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 101,217,735 |
net_rshares | 0 |