SteemIt Post Price Showed $NAsteemCreated with Sketch.

in #bloglast year

You may notice that yesterday? the steemit posts showed $NA for some time.

image.png

This was likely caused by the inaccessibility to the ticker server. So, when the server (that we fetch the price) was down, the calculation in rewards shown Na (Not Available).

This is a single point of failure - we can avoid this by adding a separate server or source of truth. So we can send 2 requests in parallel e.g. Promise.All, and return the average of it - and if a server is down, we still have one data - which is good enough.

Steem to the Moon🚀!

  • You can swap the STEEM/SBD to ETH Ethereum via steem2eth!
  • You can swap the STEEM/SBD to Tether USDT (TRC-20) via steem2usdt!
  • You can swap the STEEM/SBD to TRX (TRON) via steem2trx!
  • You can swap the STEEM/SBD to BTS (BitShares) via steem2bts!
  • Register a free STEEM account at SteemYY!
Sort:  

!test !thumbup

1 STEEM Power: 1744.098 VESTS
steem_to_sbd: 0.2521471869783933
sbd_to_steem: 3.965937562038679
sbd_median_price: 0.2521471869783933
steem_per_mvests: 573.3646501684494
vests_to_sp: 0.0005733622990014486
sp_to_vests: 1744.0907801103695
ticker.latest: 0.07990966315890635
ticker.lowest_ask: 0.07882492113564669
ticker.higest_bid: 0.07882324464709770
ticker.steem_volume: 1726.843 STEEM
ticker.sbd_volume: 136.412 SBD
Time: 2023-10-27T15:27:27.816Z


command: !price is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!

Hello @justyy! You are Awesome!


command: !thumbup is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!


Credit: Bing Wallpapers


command: !bing is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!

!ask what is "NaN"?



NaN stands for "not a number" and is used to indicate an undefined or unrepresentable value. It is commonly used when a mathematical calculation results in an undefined or unrepresentable value.


command: !ask is powered by witness @justyy and his contributions are: [https://steemyy.com](https://steemyy.com) *[More commands](https://steemyy.com/bots.php) are coming!*. !ask is currently based on ChatGPT-3.5

Blockchain Version: 0.23.0
Last Irreversible Block: 79362051
Head Block Number: 79362067
Total Steem Accounts: 1873459
Feed Price: 0.252 USD
Market Price: 0.206 USD
Hardfork Version: 0.23.0
1 STEEM Power: 1744.098 VESTS
Time: 2023-10-27T15:28:14


command: !info is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!

Coin Marketplace

STEEM 0.22
TRX 0.27
JST 0.041
BTC 103752.36
ETH 3842.24
SBD 3.32