Changes committed to my GitHub repository:
- Fix my previously added feature that reports N and Nfactor in the getmininginfo command. It was only reporting what N and Nfactor were when yacoind was last started, not what it is at the immediate moment. Duh, fixed.
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
- Added getnetworkhashps command to show estimated network hash rate. This implementation was mostly lifted from Litecoin, still need to verify that it makes sense and operates correctly for YACoin.
- Added network hash rate and the PoW block reward of the highest block on the blockchain to the info reported by the getmininginfo command:
yacoin@blah:~/wm/yacoin/src$ ~/yacoind getmininginfo
{
"blocks" : 67663,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"difficulty" : 4.10475631,
"errors" : "",
"generate" : false,
"genproclimit" : 8,
"hashespersec" : 0,
"networkhashps" : 88885983,
"pooledtx" : 0,
"testnet" : false,
"Nfactor" : 7,
"N" : 256,
"powreward" : 19.75000000
}
Note that this is reporting what the block reward was for the last block on the blockchain, not necessarily what the block reward is going to be for the next mined block. So use this as an estimate of approximately what the current block reward is, knowing that the actual reward of the next mined block may/will differ slightly.