Auto broadcast rogue rpc tx
This commit is contained in:
@@ -1041,6 +1041,17 @@ CBlockIndex *komodo_blockindex(uint256 hash)
|
||||
return(pindex);
|
||||
}
|
||||
|
||||
int32_t komodo_blockheight(uint256 hash)
|
||||
{
|
||||
BlockMap::const_iterator it; CBlockIndex *pindex = 0;
|
||||
if ( (it = mapBlockIndex.find(hash)) != mapBlockIndex.end() )
|
||||
{
|
||||
if ( (pindex= it->second) != 0 )
|
||||
return(pindex->GetHeight());
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
int32_t komodo_checkpoint(int32_t *notarized_heightp,int32_t nHeight,uint256 hash)
|
||||
{
|
||||
int32_t notarized_height,MoMdepth; uint256 MoM,notarized_hash,notarized_desttxid; CBlockIndex *notary,*pindex;
|
||||
|
||||
Reference in New Issue
Block a user