This commit is contained in:
@@ -221,6 +221,7 @@ int32_t MAX_BLOCK_SIZE(int32_t height)
|
|||||||
return(4096 * 1024);
|
return(4096 * 1024);
|
||||||
else return(2000000);
|
else return(2000000);
|
||||||
}
|
}
|
||||||
|
|
||||||
void komodo_setactivation(int32_t height)
|
void komodo_setactivation(int32_t height)
|
||||||
{
|
{
|
||||||
mainParams.consensus.vUpgrades[Consensus::UPGRADE_SAPLING].nActivationHeight = height;
|
mainParams.consensus.vUpgrades[Consensus::UPGRADE_SAPLING].nActivationHeight = height;
|
||||||
|
|||||||
@@ -3901,6 +3901,7 @@ bool static ConnectTip(CValidationState &state, CBlockIndex *pindexNew, CBlock *
|
|||||||
pblock = █
|
pblock = █
|
||||||
}
|
}
|
||||||
KOMODO_CONNECTING = (int32_t)pindexNew->GetHeight();
|
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
|
// Get the current commitment tree
|
||||||
SproutMerkleTree oldSproutTree;
|
SproutMerkleTree oldSproutTree;
|
||||||
SaplingMerkleTree oldSaplingTree;
|
SaplingMerkleTree oldSaplingTree;
|
||||||
|
|||||||
Reference in New Issue
Block a user