try change version

This commit is contained in:
blackjok3r
2019-01-25 23:44:04 +08:00
parent ef567651e3
commit e9bd3e1d67
2 changed files with 4 additions and 4 deletions

View File

@@ -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;
*percPoSp = percPoS = 0;
if ( height <= 10 || (ASSETCHAINS_STAKED == 100 && height < 100) )
if ( height <= 10 || (ASSETCHAINS_STAKED == 100 && height <= 100) )
return(target);
sum = arith_uint256(0);

View File

@@ -24,7 +24,7 @@
* 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
static const int INIT_PROTO_VERSION = 209;
@@ -33,8 +33,8 @@ static const int INIT_PROTO_VERSION = 209;
static const int GETHEADERS_VERSION = 31800;
//! disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 170002;
static const int STAKEDMIN_PEER_PROTO_VERSION = 170006;
static const int MIN_PEER_PROTO_VERSION = 170007;
static const int STAKEDMIN_PEER_PROTO_VERSION = 170007;
//! nTime field added to CAddress, starting with this version;
//! if possible, avoid requesting addresses nodes older than this