From 5d3afb9395b289c59ab6b89a6effd719cbf43cb3 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 24 Nov 2018 11:15:07 -1100 Subject: [PATCH] +print --- src/chainparams.cpp | 1 + src/main.cpp | 1 + 2 files changed, 2 insertions(+) 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;