Bitcoin Forum
June 24, 2021, 04:25:34 AM *
News: Latest Bitcoin Core release: 0.21.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 »
  Print  
Author Topic: Whattomine - profitability website with basic json.  (Read 94004 times)
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
June 18, 2018, 12:09:30 AM
 #941

BitcoinZ hardforked to a new algo.

1624508734
Hero Member
*
Offline Offline

Posts: 1624508734

View Profile Personal Message (Offline)

Ignore
1624508734
Reply with quote  #2

1624508734
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1624508734
Hero Member
*
Offline Offline

Posts: 1624508734

View Profile Personal Message (Offline)

Ignore
1624508734
Reply with quote  #2

1624508734
Report to moderator
Littledragons
Full Member
***
Offline Offline

Activity: 294
Merit: 102



View Profile
June 18, 2018, 12:12:27 AM
 #942

BitcoinZ hardforked to a new algo.

Theres going to be alot of this happening soon! I know ZEN and a few other coins are going to do the same.

T r a x i o n                              TRADE AND EARN DURING PRE-ICO
TRANSITIONS YOU TO A CRYPTO-READY SOCIETY        Pre-Sale starts April 15, 2018
GITHUB     TELEGRAM     MEDIUM     FACEBOOK     TWITTER     REDDIT     YOUTUBE
nitro3
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
June 20, 2018, 09:06:53 AM
 #943

Please add Dubaicoin(dbix) on whattomine, it is 100% legit project..
At the moment dbix is most profitable coin..
Palmex exhchange got license from central bank of Bahrain, and dbix is a part of arabianchain team and palmex.
New version of API v2 will be added by the end of next month..

https://news.bitcoin.com/crypto-exchange-approved-regulatory-sandbox-license-bahrain/
fredeq
Legendary
*
Offline Offline

Activity: 1520
Merit: 1005


View Profile WWW
June 22, 2018, 11:14:01 PM
 #944

Honestly I am thinking that weighted average is the explanation here.
Simple average wont represent the data well, cause you can have many blocks stacked in short period with low diff.
How do you calculate weighted average? What blocks are more important than others?)

If there are many blocks with low diff then next there will be blocks with much higher diff.
Difficulty basically defines the expected number of hashes to mine a block, if nethash finds block faster or slower than target spacing then diff is adjusted accordingly.
If diff retargeting is working correctly, simple average of all diffs will give very accurate number of hashes on a long interval. And 24 hours is pretty long, hundreds or even thousands of blocks.

In other words taking all blocks from last 24h and calculating simple avg is not good or wanted.
It matters how long each difficulty period was mined for.
You are polling diff each N minutes, what is your avg called? Absolutely random? Cheesy

The weighted average I was talking about would take into consideration how long it took miners to mine on certain difficulty.
Time between blocks would just have been the "weight" summing up to 24h.

If diff retarget is working correctly then your statement should be true - simple average should do the work.
There are many coins where imo its not working as intended - or just cant handle the nethash swings.
When you have those low diff periods on straks then the big hashes waiting for the drop will take majority of the blocks and leave after the diff raises up.

About your second question. I believe that polling every N minutes simulates the "weighted based on time" average quite nicely.
Why? Cause the estimated rewards just match what I have mined for the last 24h. Afterall thats all that matters.

If I was to name it then "Normalized time spent mining average difficulty" would be close.
For sure we dont want a simple avg here and the 24h value on wtm should not be interpreted as one.

@whittle @nitro3
Last time I asked dbix devs about working apis for network stats I got no response.
Honestly listing invalid api urls on official website does not inspire confidence.
Guess I will wait for the apiv2? Or the old apis are back online?

@Mikanoshi
BTCZ calc updated with new algo

https://whattomine.com - Check what to mine Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
June 23, 2018, 01:19:38 AM
 #945

When you have those low diff periods on straks then the big hashes waiting for the drop will take majority of the blocks and leave after the diff raises up.
Same on XSH, so profit for regular miners is 2-3x less than the calculated value.
You cannot take this into consideration because it's random and actually one miner gets the correct calculated rewards Cheesy

Quote
About your second question. I believe that polling every N minutes simulates the "weighted based on time" average quite nicely.
Why? Cause the estimated rewards just match what I have mined for the last 24h. Afterall thats all that matters.

If I was to name it then "Normalized time spent mining average difficulty" would be close.
For sure we dont want a simple avg here and the 24h value on wtm should not be interpreted as one.
I get it, belief and coincidences. Sorry, but simple average will remain the only reasonable way for me to calculate theoretical rewards that can be compared to each other, until someone shows a better mathematical method. Currently no profit calc has all the correct average difficulties.

nitro3
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
June 23, 2018, 06:12:51 AM
 #946

Honestly I am thinking that weighted average is the explanation here.
Simple average wont represent the data well, cause you can have many blocks stacked in short period with low diff.
How do you calculate weighted average? What blocks are more important than others?)

If there are many blocks with low diff then next there will be blocks with much higher diff.
Difficulty basically defines the expected number of hashes to mine a block, if nethash finds block faster or slower than target spacing then diff is adjusted accordingly.
If diff retargeting is working correctly, simple average of all diffs will give very accurate number of hashes on a long interval. And 24 hours is pretty long, hundreds or even thousands of blocks.

In other words taking all blocks from last 24h and calculating simple avg is not good or wanted.
It matters how long each difficulty period was mined for.
You are polling diff each N minutes, what is your avg called? Absolutely random? Cheesy

The weighted average I was talking about would take into consideration how long it took miners to mine on certain difficulty.
Time between blocks would just have been the "weight" summing up to 24h.

If diff retarget is working correctly then your statement should be true - simple average should do the work.
There are many coins where imo its not working as intended - or just cant handle the nethash swings.
When you have those low diff periods on straks then the big hashes waiting for the drop will take majority of the blocks and leave after the diff raises up.

About your second question. I believe that polling every N minutes simulates the "weighted based on time" average quite nicely.
Why? Cause the estimated rewards just match what I have mined for the last 24h. Afterall thats all that matters.

If I was to name it then "Normalized time spent mining average difficulty" would be close.
For sure we dont want a simple avg here and the 24h value on wtm should not be interpreted as one.

@whittle @nitro3
Last time I asked dbix devs about working apis for network stats I got no response.
Honestly listing invalid api urls on official website does not inspire confidence.
Guess I will wait for the apiv2? Or the old apis are back online?

Apis are already out there, developed by community, and used by all pools


@Mikanoshi
BTCZ calc updated with new algo

Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
June 24, 2018, 01:35:55 PM
 #947

@fredeq
I calculated weighted average [SUM(diff * blocktime) / SUM(blocktime)] for many coins, it's higher than avg on WTM, even 17% higher for STRAKS Cheesy
It seems to be more accurate when network is under hashrate attacks: https://blockstats.pw/qbic/
Without major hashrate jumps it's close to simple average (+5-10% max).

fredeq
Legendary
*
Offline Offline

Activity: 1520
Merit: 1005


View Profile WWW
June 24, 2018, 04:20:06 PM
 #948

@fredeq
I calculated weighted average [SUM(diff * blocktime) / SUM(blocktime)] for many coins, it's higher than avg on WTM, even 17% higher for STRAKS Cheesy
It seems to be more accurate when network is under hashrate attacks: https://blockstats.pw/qbic/
Without major hashrate jumps it's close to simple average (+5-10% max).

Interesting, thanks for the details. Indeed it should show better results for coins with big hash jumps.
Hmm will restore original timespan then for straks, avg was better for calcs before.
To be honest I want to look into it more myself and crunch the numbers, but first need to deal with other stuff.

Btw is that your website? pretty cool Smiley
Can see you already added the weighted average, will be helpful.

https://whattomine.com - Check what to mine Smiley
lexustop
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 28, 2018, 10:14:17 AM
Last edit: June 28, 2018, 10:27:14 AM by lexustop
 #949

@fredeq
Hello,

I making automated trading service, based on information Whattomine json.

1. question:
I send requests, something like
Code:
https://whattomine.com/coins.json?&eq=true&factor[eq_hr]=1000000&factor[cost]=0&sort=Profitability24&volume=0&revenue=24&factor[exchanges][]=bittrex&factor[exchanges][]=cryptobridge&factor[exchanges][]=cryptopia&factor[exchanges][]=yobit&dataset=Main&commit=Calculate

but variables of website is based on UI (html)
Code:
eq=true
factor[eq_hr]
...
factor[exchanges][]=cryptobridge
dataset=Main

I do it to receive information Rev. BTC and Rev. 24

Whattomine website changes from time to time, that's why I don't want to use html variables in requests.

It's possible just ask main page
Code:
https://whattomine.com/coins.json
and it stored information about Rev. BTC and Rev. 24, but how to understand the hash rate it calculated on? (was it ask calculate 1Kh / 100h / 43Mh or what?)

Or can you say, variables (eq=true; .... factor[eq_hr]) will be change in future?

2. question:
Is it possible to recive via json information about dimension that Whattomine use for every algorithms?
Different services use not the same dimension, about algorithms (h, mh, gh, th, ph, sol, msol ...), but they give this information in json. On Whattomine I can grab this information trought parsing html web page - but it's insane whan the website has json.


3. one more question:
Verge-Blake (2s) (XVG), for example, use algorithm blake2s and we can calculate Rev. BTC, Rev. 24 on webpage
Code:
https://whattomine.com/coins/220-xvg-blake-2s
It means that Whattomine has blake2s algorithm for calculating. Is it possible via json get information what better to mine on blake2s algorithm?

Thanks!
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
June 28, 2018, 08:26:26 PM
Last edit: June 28, 2018, 08:39:09 PM by Mikanoshi
 #950

Why CMM diff is 8000 instead of 0.008 like node shows? Smiley
Regular formula for reward with 2^32 should work.

fredeq
Legendary
*
Offline Offline

Activity: 1520
Merit: 1005


View Profile WWW
June 28, 2018, 09:20:28 PM
 #951

Why CMM diff is 8000 instead of 0.008 like node shows? Smiley
Regular formula for reward with 2^32 should work.

Spoken a bit with the coin dev and was suggested to use api_diff * 10**6 as coin difficulty + equihash formula.
This diff is also returned by official explorer.

@lexustop
Trading service based on wtm? Not sure I get it Cheesy

1. Default json response is for current default hashrates and powers. Would suggest to specify all parameters you need so they dotn change.
2. Not possible right now, will think about adding it to each coin response.
3. There is no list endpoint for Blake (2s). Verge is the only coin listed with this algo btw.

https://whattomine.com - Check what to mine Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
June 28, 2018, 09:39:52 PM
 #952

equihash formula
Isn't equihash 2^13?

P.S. Someone just dumped 200k CMM Cheesy Profit halved.

lexustop
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 29, 2018, 01:19:16 PM
 #953

@fredeq
3. There is no list endpoint for Blake (2s). Verge is the only coin listed with this algo btw.

For example, Whattomine has 3 coins on "keccak" algorithm.
Code:
https://whattomine.com/coins/74-365-keccak
https://whattomine.com/coins/73-max-keccak
https://whattomine.com/coins/197-smart-keccak
Is it possible to make 1 request (not 3) to get know what profitable to mine?
fredeq
Legendary
*
Offline Offline

Activity: 1520
Merit: 1005


View Profile WWW
July 02, 2018, 06:24:32 PM
 #954

equihash formula
Isn't equihash 2^13?

P.S. Someone just dumped 200k CMM Cheesy Profit halved.

Hah so thats why I had to lower it to 2**12...
Ok will show diff multiplied by 2**20 instead of 10**6

Thanks again Smiley

@lexustop
Normally no, but keccak is available on the coins list via those params: kec=true, factor[kec_hr], factor[kec_p]


https://whattomine.com - Check what to mine Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
July 02, 2018, 06:45:34 PM
 #955

Is it 2^20 already? I will divide and use 2^13 that makes sense. What devs know Cheesy

fredeq
Legendary
*
Offline Offline

Activity: 1520
Merit: 1005


View Profile WWW
July 03, 2018, 06:49:46 AM
 #956

Is it 2^20 already? I will divide and use 2^13 that makes sense. What devs know Cheesy

Its already updated to 2**20, but you wont get good results with 2**13.
You said yourself that without any actions the api diff should work with 2**32.

https://whattomine.com - Check what to mine Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
July 03, 2018, 09:24:21 AM
 #957

Yes, I confused myself)) I'm using 2^32.

arzunpathak
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile WWW
July 03, 2018, 04:02:50 PM
 #958

Very helpful, great work, I just like your websites look and feel, simple yet easy to move around. It would be good if you mention the different ways of mining. Thank you.
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
July 03, 2018, 11:47:19 PM
 #959

Aeon and Loki. Do they really have variable block rewards? Aeon looks more like a bug Smiley

   

fredeq
Legendary
*
Offline Offline

Activity: 1520
Merit: 1005


View Profile WWW
July 07, 2018, 09:39:38 AM
 #960

Very helpful, great work, I just like your websites look and feel, simple yet easy to move around. It would be good if you mention the different ways of mining. Thank you.

Thanks Smiley

@Mikanoshi
Not sure what you mean, looks variable to me?

https://whattomine.com - Check what to mine Smiley
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 »
  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!