This commit is contained in:
jl777
2018-02-13 22:36:44 +02:00
parent 698c5e7e94
commit ae0bb3d3c3
2 changed files with 9 additions and 3 deletions

View File

@@ -658,6 +658,13 @@ int32_t komodo_blockload(CBlock& block,CBlockIndex *pindex)
return(0);
}
uint32_t komodo_chainactive_timestamp()
{
if ( chainActive.Tip() != 0 )
return((uint32_t)chainActive.Tip()->GetBlockTime());
else return(0);
}
CBlockIndex *komodo_chainactive(int32_t height)
{
if ( chainActive.Tip() != 0 )