|
|
@ -27,8 +27,6 @@ int32_t dummy_linker_tricker() |
|
|
|
return(1); |
|
|
|
}*/ |
|
|
|
|
|
|
|
int32_t MarmaraValidateCoinbase(int32_t height,CTransaction tx); |
|
|
|
|
|
|
|
int32_t pax_fiatstatus(uint64_t *available,uint64_t *deposited,uint64_t *issued,uint64_t *withdrawn,uint64_t *approved,uint64_t *redeemed,char *base) |
|
|
|
{ |
|
|
|
int32_t baseid; struct komodo_state *sp; int64_t netliability,maxallowed,maxval; |
|
|
@ -740,14 +738,6 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block,uint32_t prevtim |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if ( height > 0 && ASSETCHAINS_MARMARA != 0 && (height & 1) == 0 ) |
|
|
|
{ |
|
|
|
if ( MarmaraValidateCoinbase(height,block.vtx[0]) < 0 ) |
|
|
|
{ |
|
|
|
fprintf(stderr,"MARMARA error ht.%d constrains even height blocks to pay 100%% to CC in vout0 with opreturn\n",height); |
|
|
|
return(-1); |
|
|
|
} |
|
|
|
} |
|
|
|
if ( ASSETCHAINS_SYMBOL[0] == 0 || |
|
|
|
((ASSETCHAINS_COMMISSION != 0 || ASSETCHAINS_FOUNDERS_REWARD) && height > 1) || |
|
|
|
NetworkUpgradeActive(height, Params().GetConsensus(), Consensus::UPGRADE_SAPLING) ) |
|
|
|