diff --git a/src/clientversion.h b/src/clientversion.h index 427dd2fffe..3201775706 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -9,7 +9,7 @@ #define CLIENT_VERSION_MAJOR 0 #define CLIENT_VERSION_MINOR 9 #define CLIENT_VERSION_REVISION 12 -#define CLIENT_VERSION_BUILD 10 +#define CLIENT_VERSION_BUILD 11 // Set to true for release, false for prerelease or test build #define CLIENT_VERSION_IS_RELEASE true diff --git a/src/main.cpp b/src/main.cpp index e40d5cca58..a49763f00a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2635,7 +2635,7 @@ bool CBlock::AcceptBlock(CValidationState &state, CDiskBlockPos *dbp) double n1 = ConvertBitsToDouble(nBits); double n2 = ConvertBitsToDouble(nBitsNext); - if (abs(n1-n2) > n1*0.2) + if (abs(n1-n2) > n1*0.5) return state.DoS(100, error("AcceptBlock() : incorrect proof of work (DGW pre-fork) - %f", abs(n1-n2))); } else { if (nBits != GetNextWorkRequired(pindexPrev, this))