Ccactivate

This commit is contained in:
jl777
2018-08-21 02:30:05 -11:00
parent 19c8395e8a
commit e0f78699ce
9 changed files with 179 additions and 17 deletions

View File

@@ -256,6 +256,8 @@ CPubKey GetUnspendable(struct CCcontract_info *cp,uint8_t *unspendablepriv)
bool ProcessCC(struct CCcontract_info *cp,Eval* eval, std::vector<uint8_t> paramsNull,const CTransaction &ctx, unsigned int nIn)
{
CTransaction createTx; uint256 assetid,assetid2,hashBlock; uint8_t funcid; int32_t height,i,n,from_mempool = 0; int64_t amount; std::vector<uint8_t> origpubkey;
if ( ASSETCHAINS_CC == 0 || height < KOMODO_CCACTIVATE )
return(false);
if ( KOMODO_CONNECTING < 0 ) // always comes back with > 0 for final confirmation
return(true);
height = KOMODO_CONNECTING;