Closed davecgh closed 1 year ago
This switches the calculation for the number of iterations to use the pow limit bit length as opposed to a less accurate round trip through a log2 float64 approximation.
There are also instances of this which can be updated in difficulty.go and client_test.go.
difficulty.go
client_test.go
Updated.
This switches the calculation for the number of iterations to use the pow limit bit length as opposed to a less accurate round trip through a log2 float64 approximation.