Whaleshares Logo

Setting up a WLS witness server: My Experience.

chronocryptoPosted for Everyone to comment on, 6 years ago4 min read

wls-share.png

Hello WLS founders!

Chronocrypto here I wanted to share some issues I came about while setting up my Witness server, they are minor but frustrating... took me 5 tries to figure out the 2nd time it was perfect.. thank you @baabeetaa for this eye opening message..

Error parsing logging config<== for logging only

If you are wanting to set up a witness server please follow all steps in the guide created by @bushkill it will save you a massive headache.. you might just get a mild one though tbh.


Some quick information and some addons, to make your life way much easier!

I used the docker version since I could not really find another guide but it might just seem a bit easier for the novice.

Source:

https://gitlab.com/beyondbitcoin/whaleshares-chain/tags/v0.2.5

Binaries:

https://whaleshares.io/wls-download/v0.2.5/cli_wallet
https://whaleshares.io/wls-download/v0.2.5/whaled
https://whaleshares.io/wls-download/v0.2.5/whaled_lm

Base Config.ini

https://whaleshares.io/wls-download/v0.2.3/config.ini

Seed Nodes

seed-node = seed01.wls.services:2001
seed-node = seed02.wls.services:2001
seed-node = 173.212.235.53:2012
seed-node = seed.whaleshares.bangzi.info:55505

Without the extra two seed nodes in config.ini your witness node might not work properly. So make sure you add the extra two.

seed-node = 173.212.235.53:2012

seed-node = seed.whaleshares.bangzi.info:55505


One thing that mad it much easier is yes create a user even if you want to skip the step.. again better to follow every step than to try to figure out what went wrong.

so

cd /home/chrono/whaleshares should be where you have all your files.. Just change chrono to your name of choose.


Another thing that the guide says, but yet I still missed it is make sure that the docker commands for the wallet and the witness are on the same line, so grab those commands and paste them in an editor and make sure they are on their own line, please respect the spaces as well.

sudo docker run --rm --name witness -it -p 8090:8090 -p 2001:2001 -v /home/chrono/whaleshares:/witness_node_data_dir ubuntu:16.04 /witness_node_data_dir/whaled -d /witness_node_data_dir

sudo docker run --rm --name witness -it -p 8090:8090 -p 2001:2001 -v /home/chrono/whaleshares:/witness_node_data_dir ubuntu:16.04 /witness_node_data_dir/whaled -d /witness_node_data_dir

Again though if you follow the guide word for word you will be golden.

Make sure to copy/paste all the time don't try to type anything in.


Well that is all that I have for right now if something else pops up that I might have missed that I had an issue with I will add it here. If you have any question Contact me on the whaleshares discord.

Grab this and paste it in a notepad to have as a reference.

  • get_private_key_from_password "Your_WLS_Name" "active" "paste password that was created when you made the account"
  • Copy the second key that comes out. It does not begin with WLS
  • import_key "paste the 2nd key here"
  • suggest_brain_key
  • copy the pub_key and set it aside for later
  • copy the wif_priv_key
  • import_key "paste wif_priv_key here"
  • ctrl a d
  • edit the config.ini
    • enable-stale-production = false
    • name of witness
    • witness = "Your_WLS_Name"
    • private-key = paste the wif_priv_key without quotes
  • save and exit
  • screen -r wallet
  • update_witness "Your_WLS_Name" "Enter your website or leave empty" "paste the pub_key here that you set aside * earlier" {} true
  • ctrl a d
  • screen -r witness
  • ctrl c
  • restart witness

Wait for a few minutes to see if you are signing blocks appropriately


Find me on Discord, Lets explorer this frontier together!!

I am the Robot looking guy.

Whaleshares Official Discord

✅ Every Single Vote Counts!

Please take a minute to jump over to the Block Producer / Witness page and cast your votes. Simply click on the (^) up arrow next to my username "chronocrypto" and supply your private account or active key to lock in your vote.
wls-share.png

Sign Up to join this conversation, or to start a topic of your own.
Your opinion is celebrated and welcomed, not banned or censored!