Bitcoin Forum
May 04, 2024, 10:44:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: YIIMP style API - what are the units? (AHashPool, zPool, etc)  (Read 171 times)
SouthMining (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
March 14, 2018, 11:31:50 PM
Last edit: March 15, 2018, 12:10:13 AM by SouthMining
 #1

Can anyone point me in some direction how to interpret the yiimp API result, which column should be used to get the current profit per algo, and which units are those fields meant in?

example from zPool:

{"name":"nist5","port":3833,"coins":6,"fees":2,"hashrate":36290627388,"workers":144,"estimate_current":"0.00000189","estimate_last24h":"0.00000309","actual_last24h":"0.00205" .... }

the "actual_last24" is in an "unknown" unit, looks like it can be figured out by looking on the website if it is mentioned (but that is often wrong or incomplete for zPool) .. so this column is basically useless for auomated parsing because it does not report the unit and the unit differs per algo

"estimate_current" & "estimate_last24h" it seems, those are always in BTC/Gh/day .. (is that true?) - but those values are unrealiable as well because if an algo goes down for whatever reason on the pool (exchangeproblem, like it happened with LUXCOIN at ahashpool recently), those fields are still populated and therefore wrong.

Is there any chance to get the "actual" column in a fixed unit? It's not really the brightest idea to return a value with an unknown unit in an API response ..
1714862665
Hero Member
*
Offline Offline

Posts: 1714862665

View Profile Personal Message (Offline)

Ignore
1714862665
Reply with quote  #2

1714862665
Report to moderator
1714862665
Hero Member
*
Offline Offline

Posts: 1714862665

View Profile Personal Message (Offline)

Ignore
1714862665
Reply with quote  #2

1714862665
Report to moderator
1714862665
Hero Member
*
Offline Offline

Posts: 1714862665

View Profile Personal Message (Offline)

Ignore
1714862665
Reply with quote  #2

1714862665
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714862665
Hero Member
*
Offline Offline

Posts: 1714862665

View Profile Personal Message (Offline)

Ignore
1714862665
Reply with quote  #2

1714862665
Report to moderator
1714862665
Hero Member
*
Offline Offline

Posts: 1714862665

View Profile Personal Message (Offline)

Ignore
1714862665
Reply with quote  #2

1714862665
Report to moderator
SouthMining (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
March 31, 2018, 11:23:16 PM
 #2

looks like nobody knows. From examining the source code nobody thought about it and the units are not fed into the API result ..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!