This commit is contained in:
Michael Toutonghi
2018-05-17 22:58:30 -07:00
parent 31bbe2343f
commit f6608b5a0d
5 changed files with 17 additions and 10 deletions

View File

@@ -321,6 +321,16 @@ public:
//! Efficiently find an ancestor of this block.
CBlockIndex* GetAncestor(int height);
const CBlockIndex* GetAncestor(int height) const;
int32_t GetVerusPOSTarget() const
{
return GetBlockHeader().GetVerusPOSTarget();
}
bool IsVerusPOSBlock() const
{
return GetBlockHeader().IsVerusPOSBlock();
}
};
/** Used to marshal pointers into hashes for db storage. */