diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 395f43228..b3ae193cb 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -221,6 +221,7 @@ int32_t MAX_BLOCK_SIZE(int32_t height) return(4096 * 1024); else return(2000000); } + void komodo_setactivation(int32_t height) { mainParams.consensus.vUpgrades[Consensus::UPGRADE_SAPLING].nActivationHeight = height; diff --git a/src/main.cpp b/src/main.cpp index adc1bb834..ba768c064 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3901,6 +3901,7 @@ bool static ConnectTip(CValidationState &state, CBlockIndex *pindexNew, CBlock * pblock = █ } KOMODO_CONNECTING = (int32_t)pindexNew->GetHeight(); + fprintf(stderr,"connecting ht.%d maxsize.%d vs %d\n",(int32_t)pindexNew->nHeight,MAX_BLOCK_SIZE(pindexNew->nHeight),(int32_t)pblock->size()); // Get the current commitment tree SproutMerkleTree oldSproutTree; SaplingMerkleTree oldSaplingTree;