Calculating the hashrate of darkcoin

acidburn

Active Member
May 26, 2014
467
175
113
Does anyone know a reliable way of calculating DRKS network hashrate? Or does the wallet expose this information?
 

stonehedge

Well-known Member
Foundation Member
Jul 31, 2014
696
333
233
darkcoind getmininginfo from daemon or getmininginfo from the QT console IIRC.
 

acidburn

Active Member
May 26, 2014
467
175
113
brilliant, thank you :) I'll give this a whirl.

I'm guessing there's no event to subscribe to within the wallet to obtain notifications when this updates?
 
  • Like
Reactions: stonehedge

stonehedge

Well-known Member
Foundation Member
Jul 31, 2014
696
333
233
If it doesn't work, just type help into the console and look for the other command that has the word mining in it! I think there are two....one shows local hashrate and the other the network hashrate. As you can probably tell, I'm on a work PC and have no access to a console!

The network hashrate would change so regularly that I can't think of a way that you could monitor it easily without finding a way to set thresholds i.e "notify me if hashrate increases by 10%". I doubt you'd end up using the wallet to do it either.
 

splawik21

Yeah, it's me....
Dash Core Group
Foundation Member
Dash Support Group
Apr 8, 2014
1,953
1,315
1,283
getmininginfo
{
"blocks" : 186575,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"difficulty" : 3532.67429150,
"errors" : "",
"generate" : true,
"genproclimit" : 3,
"hashespersec" : 71253, ==> when you mine with setgenerate true 3 with your wallet
"networkhashps" : 92812690831, ==> 92,8GHs
"pooledtx" : 0,
"testnet" : false
}
 
  • Like
Reactions: stonehedge

stonehedge

Well-known Member
Foundation Member
Jul 31, 2014
696
333
233
Thanks splawik, maybe my day job isn't ruining my memory after all!
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
getmininginfo
{
"blocks" : 186575,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"difficulty" : 3532.67429150,
"errors" : "",
"generate" : true,
"genproclimit" : 3,
"hashespersec" : 71253, ==> when you mine with setgenerate true 3 with your wallet
"networkhashps" : 92812690831, ==> 92,8GHs

"pooledtx" : 0,
"testnet" : false
}
The only thing is the setgenerate value--depends on the cores your cpu has. If you set it to 1, it uses 1 core, 2, 2 cores, etc, etc. -1 maxes out all available cores.
 

splawik21

Yeah, it's me....
Dash Core Group
Foundation Member
Dash Support Group
Apr 8, 2014
1,953
1,315
1,283
Thanks splawik, maybe my day job isn't ruining my memory after all!
indeed thought about you to have less on mind to do after you come back home ;)
The only thing is the setgenerate value--depends on the cores your cpu has. If you set it to 1, it uses 1 core, 2, 2 cores, etc, etc. -1 maxes out all available cores.
yes, true, i use all cores - 1 :)
 

stonehedge

Well-known Member
Foundation Member
Jul 31, 2014
696
333
233
The only thing is the setgenerate value--depends on the cores your cpu has. If you set it to 1, it uses 1 core, 2, 2 cores, etc, etc. -1 maxes out all available cores.
This is indeed how it is supposed to function but on my i7 it always seems to use all cores but 1 uses all cores at 25%, 2 uses all cores at 50%, 3 uses all cores at 75% and 4 which uses all cores at 100%.

I don't know whether this is something particular to my PC architecture, chipset, drivers or whatever but its definitely a bit odd.