Why getinfo doesn't print difficulty?
{
"version" : "v0.1.2.0dtc-hp11-g791125b9-beta",
"protocolversion" : 70001,
"walletversion" : 60000,
"balance" :
"blocks" : 1978127,
"moneysupply" : 26187045.02783475,
"timeoffset" : 0,
"connections" : 2,
"proxy" : "",
"testnet" : false,
"keypoololdest" : 1503367205,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"errors" : ""
}
Hello Mightinside,
The difficulty isn't included in the original code either.
Easiest way to see the current difficulty would be to:
prime ~ # grep SetBestChain /var/lib/datacoin/debug.log | tail -n 1
2017-08-25 12:06:47 SetBestChain: new best=e55e565f854fd3aba8aa3c1f9ae80dd926f1306fd6cb14e51f2d98e3b64aeb7b height=1980097 difficulty=7.7821499 log2Work=15.045162 log2ChainWork=44.258783 tx=2265955 date=2017-08-25 12:06:45 progress=0.999999
Simply replace /var/lib/datacoin/debug.log with the location where your datadir/debug.log exist.
Best Regards,
-Chicago