Bitcoin Forum
May 02, 2024, 10:34:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Network hashrate calculation in altcoin wallets  (Read 930 times)
adversor (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 09, 2014, 11: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?

LISK Develop Decentralized Applications & Sidechains in JavaScript with Lisk!
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!