It is called hush_hardfork_active now

This commit is contained in:
Duke Leto
2019-12-13 11:08:10 -05:00
parent b6e93662c7
commit e8509dd525
7 changed files with 17 additions and 15 deletions

View File

@@ -700,10 +700,12 @@ bool komodo_checkopret(CBlock *pblock, CScript &merkleroot)
return(merkleroot.IsOpReturn() && merkleroot == komodo_makeopret(pblock, false));
}
bool komodo_hardfork_active(uint32_t time)
#define HUSH_HARDFORK1 (162000)
bool hush_hardfork_active(uint32_t time)
{
//TODO: set a block height for ~ Jan 21 3pm
return ( (ASSETCHAINS_SYMBOL[0] == 0 && chainActive.Height() > nDecemberHardforkHeight) || (ASSETCHAINS_SYMBOL[0] != 0 && time > nStakedDecemberHardforkTimestamp) ); //December 2019 hardfork
// Approximately mid-day Jan 21 EST
return ( chainActive.Height() > HUSH_HARDFORK1);
}
bool MarmaraPoScheck(char *destaddr,CScript opret,CTransaction staketx);