Author

Topic: difficulty are difference,need help (Read 450 times)

legendary
Activity: 996
Merit: 1013
July 27, 2015, 11:57:28 AM
#5

Code:
obj.push_back(Pair("difficulty",    (double)GetDifficulty()*64));
and  thanks for your advice for reading skills.


That was no advice, but a statement of fact.
And you proved it by actually looking at the code.
sr. member
Activity: 333
Merit: 250
July 27, 2015, 10:17:38 AM
#4

Assuming the coin is this one:

getmininginfo returns difficulty multiplied by 64.

getinfo returns just the difficulty.

Simple to find out with just elementary reading skills.
yes,sir,you are right
Code:
obj.push_back(Pair("difficulty",    (double)GetDifficulty()*64));
and  thanks for your advice for reading skills.
legendary
Activity: 996
Merit: 1013
July 27, 2015, 03:15:54 AM
#3

Assuming the coin is this one:

getmininginfo returns difficulty multiplied by 64.

getinfo returns just the difficulty.

Simple to find out with just elementary reading skills.
legendary
Activity: 938
Merit: 1000
July 26, 2015, 01:00:35 PM
#2
Only curious. Difficulty is besides displayed on bottom right corner leaving positioned the mouse over one of the 3 small icons. Wich  is similar  "getinfo" or "getmininginfo" to?
sr. member
Activity: 333
Merit: 250
July 26, 2015, 10:25:03 AM
#1
I have fork a altcoin
But I don't understand why the difficulty of "getinfo" is different from "getmininginfo",need some help and can somebody explain???thank you
Code:
22:43:58
getinfo
22:43:58
{
"version" : 1000000,
"protocolversion" : 70001,
"walletversion" : 60000,
"balance" : 2500.00000000,
"blocks" : 1943,
"timeoffset" : -4,
"connections" : 9,
"proxy" : "",
"difficulty" : 0.00000381,
"testnet" : false,
"keypoololdest" : 1437731877,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"errors" : ""
}
22:44:13
getmininginfo
22:44:13
{
"blocks" : 1943,
"currentblocksize" : 0,
"currentblocktx" : 0,
"difficulty" : 0.00024414,
"errors" : "",
"generate" : false,
"genproclimit" : -1,
"collisionspersec" : "No information yet. Wait at least 4 minutes after starting mining for estimate.",
"pooledtx" : 0,
"testnet" : false
}
Jump to: