Mineropret and cbopret

This commit is contained in:
jl777
2019-03-28 03:11:59 -11:00
parent 1f36dbf75f
commit 21a8da8667
7 changed files with 148 additions and 8 deletions

View File

@@ -1014,6 +1014,15 @@ bool ContextualCheckCoinbaseTransaction(const CTransaction& tx, const int nHeigh
}
return(false);
}
else if ( ASSETCHAINS_MARMARA != 0 && nHeight > 0 && (nHeight & 1) == 0 )
{
}
else if ( ASSETCHAINS_MINEROPRET != 0 )
{
if ( komodo_opretvalidate(nHeight,tx.vout[1].scriptPubKey) < 0 )
return(false);
}
return(true);
}