Print in setactivation
This commit is contained in:
@@ -218,6 +218,7 @@ void komodo_setactivation(int32_t height)
|
|||||||
mainParams.consensus.vUpgrades[Consensus::UPGRADE_SAPLING].nActivationHeight = height;
|
mainParams.consensus.vUpgrades[Consensus::UPGRADE_SAPLING].nActivationHeight = height;
|
||||||
mainParams.consensus.vUpgrades[Consensus::UPGRADE_OVERWINTER].nActivationHeight = height;
|
mainParams.consensus.vUpgrades[Consensus::UPGRADE_OVERWINTER].nActivationHeight = height;
|
||||||
ASSETCHAINS_SAPLING = height;
|
ASSETCHAINS_SAPLING = height;
|
||||||
|
fprintf(stderr,"SET SAPLING ACTIVATION height.%d\n",height);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *chainparams_commandline(void *ptr)
|
void *chainparams_commandline(void *ptr)
|
||||||
|
|||||||
@@ -1380,7 +1380,7 @@ bool CheckTransactionWithoutProofVerification(const CTransaction& tx, CValidatio
|
|||||||
if ( ASSETCHAINS_PUBLIC != 0 )
|
if ( ASSETCHAINS_PUBLIC != 0 )
|
||||||
{
|
{
|
||||||
return state.DoS(100, error("CheckTransaction(): this is a public chain, no privacy allowed"),
|
return state.DoS(100, error("CheckTransaction(): this is a public chain, no privacy allowed"),
|
||||||
REJECT_INVALID, "bad-txns-acprivacy-chain");
|
REJECT_INVALID, "bad-txns-acpublic-chain");
|
||||||
}
|
}
|
||||||
if (joinsplit.vpub_old < 0) {
|
if (joinsplit.vpub_old < 0) {
|
||||||
return state.DoS(100, error("CheckTransaction(): joinsplit.vpub_old negative"),
|
return state.DoS(100, error("CheckTransaction(): joinsplit.vpub_old negative"),
|
||||||
|
|||||||
Reference in New Issue
Block a user