Browse Source

Conditional activate of sapling

pull/4/head
jl777 6 years ago
parent
commit
d39300e3ff
  1. 2
      src/komodo_defs.h
  2. 4
      src/main.cpp

2
src/komodo_defs.h

@ -11,7 +11,7 @@
#define KOMODO_MAXMEMPOOLTIME 3600 // affects consensus
#define CRYPTO777_PUBSECPSTR "020e46e79a2a8d12b9b5d12c7a91adb4e454edfae43c0a0cb805427d2ac7613fd9"
#define KOMODO_FIRSTFUNGIBLEID 100
#define KOMODO_SAPLING_ACTIVATION (1542903704+3600) //1544832000 // Dec 15th, 2018
#define KOMODO_SAPLING_ACTIVATION 1544832000 // Dec 15th, 2018
#define KOMODO_SAPLING_DEADLINE 1550188800 // Feb 15th, 2019
extern uint8_t ASSETCHAINS_TXPOW;

4
src/main.cpp

@ -3827,7 +3827,9 @@ int32_t komodo_activate_sapling(CBlockIndex *pindex)
}
if ( activation != 0 )
{
//komodo_setactivation(activation);
#if KOMODO_SAPLING_ACTIVATION != 1544832000
komodo_setactivation(activation);
#endif
fprintf(stderr,"%s sapling activation at %d\n",ASSETCHAINS_SYMBOL,activation);
ASSETCHAINS_SAPLING = activation;
}

Loading…
Cancel
Save