|
|
@ -205,7 +205,7 @@ public: |
|
|
|
bool IsInMainChain() const { const CBlockIndex *pindexRet; return GetDepthInMainChain(pindexRet) > 0; } |
|
|
|
bool IsInMainChain() const { const CBlockIndex *pindexRet; return GetDepthInMainChain(pindexRet) > 0; } |
|
|
|
int GetBlocksToMaturity() const; |
|
|
|
int GetBlocksToMaturity() const; |
|
|
|
/** Pass this transaction to the mempool. Fails if absolute fee exceeds absurd fee. */ |
|
|
|
/** Pass this transaction to the mempool. Fails if absolute fee exceeds absurd fee. */ |
|
|
|
bool AcceptToMemoryPool(bool fLimitFree, CAmount nAbsurdFee); |
|
|
|
bool AcceptToMemoryPool(bool fLimitFree, const CAmount nAbsurdFee); |
|
|
|
bool hashUnset() const { return (hashBlock.IsNull() || hashBlock == ABANDON_HASH); } |
|
|
|
bool hashUnset() const { return (hashBlock.IsNull() || hashBlock == ABANDON_HASH); } |
|
|
|
bool isAbandoned() const { return (hashBlock == ABANDON_HASH); } |
|
|
|
bool isAbandoned() const { return (hashBlock == ABANDON_HASH); } |
|
|
|
void setAbandoned() { hashBlock = ABANDON_HASH; } |
|
|
|
void setAbandoned() { hashBlock = ABANDON_HASH; } |
|
|
|