Avoid any potential double staking penalty that make occur during repeated reorgs

This commit is contained in:
miketout
2018-11-02 03:05:51 -07:00
parent 3613db08b4
commit b276e36826
3 changed files with 39 additions and 1 deletions

View File

@@ -61,6 +61,9 @@ class CCheatList
// check to see if a transaction that could be a cheat for the passed transaction is in our list
bool IsCheatInList(const CTransaction &tx, CTransaction *pcheatTx);
// checks if the out point is in the list
bool IsUTXOInList(COutPoint _utxo, uint32_t height);
// check to see if there are cheat candidates of the same or greater block height in list
bool IsHeightOrGreaterInList(uint32_t height);