![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
CCoinsView that brings transactions from a memorypool into view. More...
#include <txmempool.h>
Public Member Functions | |
| CCoinsViewMemPool (CCoinsView *baseIn, CTxMemPool &mempoolIn) | |
| bool | GetCoins (const uint256 &txid, CCoins &coins) const |
| Retrieve the CCoins (unspent transaction outputs) for a given txid. More... | |
| bool | HaveCoins (const uint256 &txid) const |
| Just check whether we have data for a given txid. More... | |
Public Member Functions inherited from CCoinsViewBacked | |
| CCoinsViewBacked (CCoinsView *viewIn) | |
| uint256 | GetBestBlock () const |
| Retrieve the block hash whose state this CCoinsView currently represents. More... | |
| void | SetBackend (CCoinsView &viewIn) |
| bool | BatchWrite (CCoinsMap &mapCoins, const uint256 &hashBlock) |
| Do a bulk modification (multiple CCoins changes + BestBlock change). More... | |
| bool | GetStats (CCoinsStats &stats) const |
| Calculate statistics about the unspent transaction output set. More... | |
Public Member Functions inherited from CCoinsView | |
| virtual | ~CCoinsView () |
| As we use CCoinsViews polymorphically, have a virtual destructor. More... | |
Protected Attributes | |
| CTxMemPool & | mempool |
Protected Attributes inherited from CCoinsViewBacked | |
| CCoinsView * | base |
CCoinsView that brings transactions from a memorypool into view.
It does not check for spendings by memory pool transactions.
Definition at line 202 of file txmempool.h.
| CCoinsViewMemPool::CCoinsViewMemPool | ( | CCoinsView * | baseIn, |
| CTxMemPool & | mempoolIn | ||
| ) |
Definition at line 704 of file txmempool.cpp.
Retrieve the CCoins (unspent transaction outputs) for a given txid.
Reimplemented from CCoinsViewBacked.
Definition at line 706 of file txmempool.cpp.
|
virtual |
Just check whether we have data for a given txid.
This may (but cannot always) return true for fully spent transactions
Reimplemented from CCoinsViewBacked.
Definition at line 719 of file txmempool.cpp.
|
protected |
Definition at line 205 of file txmempool.h.
1.8.17