mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
v11
This commit is contained in:
parent
3d6b799ec4
commit
413a04d403
@ -9,7 +9,7 @@
|
|||||||
#define CLIENT_VERSION_MAJOR 0
|
#define CLIENT_VERSION_MAJOR 0
|
||||||
#define CLIENT_VERSION_MINOR 9
|
#define CLIENT_VERSION_MINOR 9
|
||||||
#define CLIENT_VERSION_REVISION 12
|
#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
|
// Set to true for release, false for prerelease or test build
|
||||||
#define CLIENT_VERSION_IS_RELEASE true
|
#define CLIENT_VERSION_IS_RELEASE true
|
||||||
|
@ -2635,7 +2635,7 @@ bool CBlock::AcceptBlock(CValidationState &state, CDiskBlockPos *dbp)
|
|||||||
double n1 = ConvertBitsToDouble(nBits);
|
double n1 = ConvertBitsToDouble(nBits);
|
||||||
double n2 = ConvertBitsToDouble(nBitsNext);
|
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)));
|
return state.DoS(100, error("AcceptBlock() : incorrect proof of work (DGW pre-fork) - %f", abs(n1-n2)));
|
||||||
} else {
|
} else {
|
||||||
if (nBits != GetNextWorkRequired(pindexPrev, this))
|
if (nBits != GetNextWorkRequired(pindexPrev, this))
|
||||||
|
Loading…
Reference in New Issue
Block a user