380
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] [BEN] [SHA] All About the BENJAMINS, Baby - NOW ON REDDIT
|
on: February 12, 2014, 04:51:27 PM
|
Do getnetworkhashps and post what it spits out
Ok... that works... $ benjaminsd getnetworkhashps 2171755945065 $ Looks good to me Little under 2.2 Terahash currently. Looks like difficulty might drop soon right, does look ok there... but I think it should show up in the getmininginfo call... so add it to: rpcmining.cpp Value getmininginfo(const Array& params, bool fHelp) { if (fHelp || params.size() != 0) throw runtime_error( "getmininginfo\n" "Returns an object containing mining-related information."); Object obj; obj.push_back(Pair("blocks", (int)nBestHeight)); obj.push_back(Pair("currentblocksize",(uint64_t)nLastBlockSize)); obj.push_back(Pair("currentblocktx",(uint64_t)nLastBlockTx)); obj.push_back(Pair("difficulty", (double)GetDifficulty())); obj.push_back(Pair("errors", GetWarnings("statusbar"))); obj.push_back(Pair("generate", GetBoolArg("-gen"))); obj.push_back(Pair("genproclimit", (int)GetArg("-genproclimit", -1))); obj.push_back(Pair("hashespersec", gethashespersec(params, false))); obj.push_back(Pair("networkhashps", getnetworkhashps(params, false)));
obj.push_back(Pair("pooledtx", (uint64_t)mempool.size())); obj.push_back(Pair("testnet", fTestNet)); return obj; } Take much to add it there properly? Actually, looks like that's all that needed to be added.... $ benjaminsd getmininginfo { "blocks" : 19098, "currentblocksize" : 1000, "currentblocktx" : 0, "difficulty" : 253036.70799887, "errors" : "", "generate" : false, "genproclimit" : -1, "hashespersec" : 0, "networkhashps" : 2168253578791,
"pooledtx" : 0, "testnet" : false } my pool shows it properly now. cheers! Awesome, thanks. Yea, you can change it to anything you want as far as commands go. You can make it getthedamnhash if you want to
|
|
|
|