![]() |
Anoncoin
0.9.4
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) |
bool | HaveCoins (const uint256 &txid) |
![]() | |
CCoinsViewBacked (CCoinsView &viewIn) | |
bool | SetCoins (const uint256 &txid, const CCoins &coins) |
uint256 | GetBestBlock () |
bool | SetBestBlock (const uint256 &hashBlock) |
void | SetBackend (CCoinsView &viewIn) |
bool | BatchWrite (const std::map< uint256, CCoins > &mapCoins, const uint256 &hashBlock) |
bool | GetStats (CCoinsStats &stats) |
![]() | |
virtual | ~CCoinsView () |
Protected Attributes | |
CTxMemPool & | mempool |
![]() | |
CCoinsView * | base |
CCoinsView that brings transactions from a memorypool into view.
It does not check for spendings by memory pool transactions.
Definition at line 103 of file txmempool.h.
CCoinsViewMemPool::CCoinsViewMemPool | ( | CCoinsView & | baseIn, |
CTxMemPool & | mempoolIn | ||
) |
Definition at line 199 of file txmempool.cpp.
Reimplemented from CCoinsViewBacked.
Definition at line 201 of file txmempool.cpp.
|
virtual |
Reimplemented from CCoinsViewBacked.
Definition at line 212 of file txmempool.cpp.
|
protected |
Definition at line 106 of file txmempool.h.