This commit is contained in:
jl777
2018-11-24 11:15:07 -11:00
parent 9412ec11a9
commit 5d3afb9395
2 changed files with 2 additions and 0 deletions

View File

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

View File

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