UPDATE your Witness Price Feed

in #witness-update6 years ago (edited)

This is a friendly reminder to all Witnesses out there. If you price feed is not working right now due to a down RPC node server, please update right away so we can provide an accurate price feed for STEEM. Providing accurate price feed is one of many responsibility being a Witness.


Image source from: https://Yehey.com

This is a simple steps to follow using the Steemfeed-js.

Login to your Witness Server, then change directory (cd) to ~/steem-docker/steemfeed-js$
Edit config.json file

{
"node": "wss://steemd.privex.io/",
"name": "yehey",
"wif": "5KUKG...ACTIVE_PRIVATE_KEY",
"interval": 60
}

As of writing this how to guide steemd.privex.io seems to be not responding. No worries, we have plenty of alternative servers, some are listed below.

"wss://gtg.steem.house:8090”
"wss://rpc.buildteam.io”
"wss://seed.bitcoiner.me”
"wss://steemd.pevo.science”
"wss://steemd.steemitstage.com"

Of course, my first option is to use gandalf server "wss://gtg.steem.house:8090” but it is specifically assigned port is 8090 which by default is closed in my Firewall policy. So, my next option is "wss://rpc.buildteam.io” nothing to change on my Firewall policy.

You can also ping the servers and choose the nearest server close to you.

Step 1. Edit config.json file

{
"node": "wss://rpc.buildteam.io",
"name": "yehey",
"wif": "5KUKG...ACTIVE_PRIVATE_KEY",
"interval": 60
}

Save changes to my config.json file, and follow the commands.

Step 2. Delete existing feed if still running.


/steem-docker/steemfeed-js$ docker rm feed

Step 3. Run build.


/steem-docker/steemfeed-js$ docker build -t steemfeed-js .

You will see something like this.
Sending build context to Docker daemon 254.5kB
Step 1/1 : FROM node:6-onbuild
---> Using cache
---> Using cache
---> Using cache
---> Using cache
---> eba60f08a2e8
Successfully built eba60f08a2e8

Step 4. Lastly


/steem-docker/steemfeed-js$ docker run -itd --rm --name feed steemfeed-js

Here's a good price feed logs.

/steem-docker/steemfeed-js$ docker logs feed

[email protected] start /usr/src/app
node app.js publishnow

[2018-01-13T20:16:27.764Z] finding account yehey
[2018-01-13T20:16:27.766Z] attempting to login account yehey
[2018-01-13T20:16:28.055Z] logged in
[2018-01-13T20:16:28.055Z] Successfully logged into user yehey

[2018-01-13T20:16:28.056Z] Publishing immediately, then every 60 minute(s)
[2018-01-13T20:16:28.058Z] Querying Poloniex (btc/steem)
[2018-01-13T20:16:28.082Z] Querying Bittrex (btc/steem)
[2018-01-13T20:16:28.087Z] Querying Poloniex (btc/usd)

[2018-01-13T20:16:28.317Z] STEEM/USD is 6.160
[2018-01-13T20:16:28.324Z] Data published at: Sat Jan 13 2018 20:16:28 GMT+0000 (UTC)

Are you interested to be a Witness? Go ahead read the Step-by-Step Guide on how to setup your Witness Server.
https://yehey.org/witness-update/@yehey/howto-setup-witness-node-by-yehey-updated-tutorial-guide

And if you need assistance, come find me at https://discord.gg/rSkAftP and steem.chat

Project Funds


Proceeds from being a Witness producing blocks goes to maintain our servers that's the long term plan. For our current witness rank (96), we are bleeding $$$ every month this is why I need your support. Please vote for me (yehey) as your Witness. But for now, all servers are self funded (out of pocket) by @yehey.

FYI. All our network of websites are managed in-house, no third party consultant. This includes our Witness Servers, Condensers (https://Yehey.org) promoting STEEM blockchain, voting bot @Shares and other projects to follow. If you like what I do, please support me as your Witness.

Vote YEHEY as your Witness or Set Proxy.

Go to https://steemit.com/~witnesses URL address then scroll down to Vote.

Please follow me @Yehey, Vote Up and Resteem
Thank you,
@Yehey

Sort:  

Thanks - that fixed the issue for me. Upvoted and Resteemed!

Great to know, you updated your price feed.

Thank you, this saved me hours fighting with manual updates :-) Following you, upvoting, and voting for you for witness...

That's the idea of the step-by-step procedures, making it easier to implement.

Changed the node in the config, thanks for notifying :)

Glad to help Rick.

Güzel yazı için teşekkür ederim dostum :)

Thank you :)

Being a witness doesn't require you to run your own node? Why use an external RPC?

Yes, you can run a witness server without running your own RPC full node. Most newbie witness doesn't run a full node (RPC) because it is too expensive to run and manage. The RPC server require's a minimum 256GB RAM to run efficiently, this is the main reason of using external RPC.

I hope that makes sense to you.

Your post had been curated by the @buildawhale & @ipromote team and mentioned here:

https://steemit.com/curation/@buildawhale/buildawhale-curation-digest-01-19-18

Keep up the good work and original content, everyone appreciates it!