try change version
This commit is contained in:
@@ -1292,7 +1292,7 @@ arith_uint256 komodo_PoWtarget(int32_t *percPoSp,arith_uint256 target,int32_t he
|
|||||||
CBlockIndex *pindex; arith_uint256 easydiff,bnTarget,hashval,sum,ave; bool fNegative,fOverflow; int32_t i,n,m,ht,percPoS,diff,val;
|
CBlockIndex *pindex; arith_uint256 easydiff,bnTarget,hashval,sum,ave; bool fNegative,fOverflow; int32_t i,n,m,ht,percPoS,diff,val;
|
||||||
*percPoSp = percPoS = 0;
|
*percPoSp = percPoS = 0;
|
||||||
|
|
||||||
if ( height <= 10 || (ASSETCHAINS_STAKED == 100 && height < 100) )
|
if ( height <= 10 || (ASSETCHAINS_STAKED == 100 && height <= 100) )
|
||||||
return(target);
|
return(target);
|
||||||
|
|
||||||
sum = arith_uint256(0);
|
sum = arith_uint256(0);
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
* network protocol versioning
|
* network protocol versioning
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static const int PROTOCOL_VERSION = 170007;
|
static const int PROTOCOL_VERSION = 170008;
|
||||||
|
|
||||||
//! initial proto version, to be increased after version/verack negotiation
|
//! initial proto version, to be increased after version/verack negotiation
|
||||||
static const int INIT_PROTO_VERSION = 209;
|
static const int INIT_PROTO_VERSION = 209;
|
||||||
@@ -33,8 +33,8 @@ static const int INIT_PROTO_VERSION = 209;
|
|||||||
static const int GETHEADERS_VERSION = 31800;
|
static const int GETHEADERS_VERSION = 31800;
|
||||||
|
|
||||||
//! disconnect from peers older than this proto version
|
//! disconnect from peers older than this proto version
|
||||||
static const int MIN_PEER_PROTO_VERSION = 170002;
|
static const int MIN_PEER_PROTO_VERSION = 170007;
|
||||||
static const int STAKEDMIN_PEER_PROTO_VERSION = 170006;
|
static const int STAKEDMIN_PEER_PROTO_VERSION = 170007;
|
||||||
|
|
||||||
//! nTime field added to CAddress, starting with this version;
|
//! nTime field added to CAddress, starting with this version;
|
||||||
//! if possible, avoid requesting addresses nodes older than this
|
//! if possible, avoid requesting addresses nodes older than this
|
||||||
|
|||||||
Reference in New Issue
Block a user