Author

Topic: Two clients giving different getdifficulty values (Read 1260 times)

legendary
Activity: 1072
Merit: 1189
There was a rounding error in the way the old difficulty was calculated, the one calculated by git head is actually more correct.

And indeed, it's only converted to a floating-point number for showing it to the user - internally it's all integers, where nothing was changed.
administrator
Activity: 5222
Merit: 13032
Those difficulty numbers are never used internally by the network: they are only used as an easy way of expressing the current difficulty. How it is derived from the actual "difficulty" (a very large target number) varies by version.

If two sources give you difficulty numbers within 100 or so, they probably refer to the same difficulty.
hero member
Activity: 504
Merit: 500
434882.72175
full member
Activity: 140
Merit: 100
Hi,

I have one client getdifficulty reading 434882 and another (git) at 434877. Gribble thinks 434882 is correct but why the divergent readings?
Jump to: