Browse Source

try change version

pull/27/head
blackjok3r 5 years ago
parent
commit
e9bd3e1d67
  1. 2
      src/komodo_bitcoind.h
  2. 6
      src/version.h

2
src/komodo_bitcoind.h

@ -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);

6
src/version.h

@ -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

Loading…
Cancel
Save