Another method to fix conductor and your other Steem-Python apps

in #steemdev7 years ago

Steemit Inc. just changed the address of their API-node.

It used to be:

https://steemd.steemit.com

Now it is:

https://api.steemit.com

There are different methods to change the default nodes Steem-Python connects to.
The proper way is this: https://steemit.com/witness/@themarkymark/fix-witness-price-feed-if-using-conductor

If you don't use steempy at all and just want to fix your scripts, edit this file:

/.local/lib/python3.5/site-packages/steem/steemd.py

In line 53, change https://steemd.steemit.com to your favourite node(s).

Sort:  

Oh, that is the reason a lot of steem applications did not work yesterday...

looks like!

Any idea on how to fix this in Piston?

Standard nodes should be in the exact same file: steem/steemd.py
Perhaps in a different line, though ( Too lazy to check :P )
This is the right moment to transition from piston to steem-python ;)

It doesn't have that file just steem.py in site-packages/piston will attempt the transition. Expect more questions :))

try changing the nodes in:
piston/storage.py in line 261
... for a quick fix.

For a transition to Steem-Python, I'd recommend new my tutorial series ;)
Feel free to ask any questions there !

Thanks for the tips, I managed to do it in my script instead nodes = ['wss://steemd.minnowsupportproject.org','wss://rpc.buildteam.io/','wss://rpc.steemliberator.com']
steem = Steem(nodes, wif = [posting_key])

Hoping to make the changeover in the future and will check out your tutorial series!

It's funny how that exact move doesn't work for Steem-Python anymore :D

thx @felixxx. you allways come with usefull info keep it up

Thanks for this. It narrowed my search.