You are viewing a single comment's thread from:

RE: Steemit API Question

in #steemdev5 years ago

Gah I'm actually trying this and have the same damn problem.

client.blockchain.getCurrentBlockHeader()

Gives me a block that is a minute old.
Are you sure Python is giving brand new blocks?

Sort:  

Yes, just tested with this while loop and compared with head block numbers on steemd.com.
Seems to be returning the correct block numbers.

lb.png

I miss Python... it's been so long.

So apparently getOperationsStream() is just broken.
getBlockStream() is working for getting the new blocks.

Thanks for your time though and reminding me how awesome Python is.

Coin Marketplace

STEEM 0.19
TRX 0.14
JST 0.030
BTC 59479.71
ETH 3174.48
USDT 1.00
SBD 2.44