Author

Topic: Network hashrate calculation in altcoin wallets (Read 964 times)

member
Activity: 112
Merit: 10
January 09, 2014, 06:35:50 PM
#1
I have recognized a strange behaviour of the calculation of the Nethashpower in the wallets, independent which coin. Maybe I'm wrong in my interpretation, but it looks strange to me:

After a difficulty change, the parameter "networkhashps" changes almost exactly with the same ratio than difficulty. I have tried to get the values at difficulty change within a few seconds at the release of Batcoin:


00:12:37
{
"blocks" : 319,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"difficulty" : 0.25000000,
"errors" : "",
"generate" : false,
"genproclimit" : -1,
"hashespersec" : 0,
"networkhashps" : 300347363,
"pooledtx" : 0,
"testnet" : false
}


00:12:41
{
"blocks" : 320,
"currentblocksize" : 2354,
"currentblocktx" : 6,
"difficulty" : 1.00000000,
"errors" : "",
"generate" : false,
"genproclimit" : -1,
"hashespersec" : 0,
"networkhashps" : 1198595524,
"pooledtx" : 6,
"testnet" : false
}

--> diff 0.25: "networkhashps" : 300347363 = 0.3003 GH/s
--> diff 1: "networkhashps" : 1198595524 = 1.1986 GH/s  (just 4 sec. later)

0.3003 * 4 = 1.2012

Same on all coins. Huh

Does "networkhashps" mean the hashrate of total network or something else?
Jump to: