Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Protected Attributes | List of all members
CCoinsViewMemPool Class Reference

CCoinsView that brings transactions from a memorypool into view. More...

#include <main.h>

Inheritance diagram for CCoinsViewMemPool:
Inheritance graph
[legend]
Collaboration diagram for CCoinsViewMemPool:
Collaboration graph
[legend]

Public Member Functions

 CCoinsViewMemPool (CCoinsView &baseIn, CTxMemPool &mempoolIn)
 CCoinsView that brings transactions from a memorypool into view. More...
 
bool GetCoins (const uint256 &txid, CCoins &coins)
 
bool HaveCoins (const uint256 &txid)
 
- Public Member Functions inherited from CCoinsViewBacked
 CCoinsViewBacked (CCoinsView &viewIn)
 
bool SetCoins (const uint256 &txid, const CCoins &coins)
 
CBlockIndexGetBestBlock ()
 
bool SetBestBlock (CBlockIndex *pindex)
 
void SetBackend (CCoinsView &viewIn)
 
bool BatchWrite (const std::map< uint256, CCoins > &mapCoins, CBlockIndex *pindex)
 
bool GetStats (CCoinsStats &stats)
 
- Public Member Functions inherited from CCoinsView
virtual ~CCoinsView ()
 

Protected Attributes

CTxMemPoolmempool
 
- Protected Attributes inherited from CCoinsViewBacked
CCoinsViewbase
 

Detailed Description

CCoinsView that brings transactions from a memorypool into view.

It does not check for spendings by memory pool transactions.

Definition at line 2229 of file main.h.

Constructor & Destructor Documentation

CCoinsViewMemPool::CCoinsViewMemPool ( CCoinsView baseIn,
CTxMemPool mempoolIn 
)

CCoinsView that brings transactions from a memorypool into view.

It does not check for spendings by memory pool transactions.

Definition at line 272 of file main.cpp.

Member Function Documentation

bool CCoinsViewMemPool::GetCoins ( const uint256 txid,
CCoins coins 
)
virtual

Reimplemented from CCoinsViewBacked.

Definition at line 274 of file main.cpp.

bool CCoinsViewMemPool::HaveCoins ( const uint256 txid)
virtual

Reimplemented from CCoinsViewBacked.

Definition at line 285 of file main.cpp.

Member Data Documentation

CTxMemPool& CCoinsViewMemPool::mempool
protected

Definition at line 2232 of file main.h.


The documentation for this class was generated from the following files: