Anoncoin  0.9.4
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
CCoinsViewBacked Class Reference

CCoinsView backed by another CCoinsView. More...

#include <coins.h>

Inheritance diagram for CCoinsViewBacked:
[legend]
Collaboration diagram for CCoinsViewBacked:
[legend]

Public Member Functions

 CCoinsViewBacked (CCoinsView &viewIn)
 
bool GetCoins (const uint256 &txid, CCoins &coins)
 
bool SetCoins (const uint256 &txid, const CCoins &coins)
 
bool HaveCoins (const uint256 &txid)
 
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)
 
- Public Member Functions inherited from CCoinsView
virtual ~CCoinsView ()
 

Protected Attributes

CCoinsViewbase
 

Detailed Description

CCoinsView backed by another CCoinsView.

Definition at line 290 of file coins.h.

Constructor & Destructor Documentation

CCoinsViewBacked::CCoinsViewBacked ( CCoinsView viewIn)

Definition at line 63 of file coins.cpp.

Member Function Documentation

bool CCoinsViewBacked::BatchWrite ( const std::map< uint256, CCoins > &  mapCoins,
const uint256 hashBlock 
)
virtual

Reimplemented from CCoinsView.

Reimplemented in CCoinsViewCache.

Definition at line 70 of file coins.cpp.

Here is the call graph for this function:

uint256 CCoinsViewBacked::GetBestBlock ( )
virtual

Reimplemented from CCoinsView.

Reimplemented in CCoinsViewCache.

Definition at line 67 of file coins.cpp.

Here is the call graph for this function:

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

Reimplemented from CCoinsView.

Reimplemented in CCoinsViewCache, and CCoinsViewMemPool.

Definition at line 64 of file coins.cpp.

Here is the call graph for this function:

bool CCoinsViewBacked::GetStats ( CCoinsStats stats)
virtual

Reimplemented from CCoinsView.

Definition at line 71 of file coins.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CCoinsViewBacked::HaveCoins ( const uint256 txid)
virtual

Reimplemented from CCoinsView.

Reimplemented in CCoinsViewCache, and CCoinsViewMemPool.

Definition at line 66 of file coins.cpp.

Here is the call graph for this function:

void CCoinsViewBacked::SetBackend ( CCoinsView viewIn)

Definition at line 69 of file coins.cpp.

Here is the caller graph for this function:

bool CCoinsViewBacked::SetBestBlock ( const uint256 hashBlock)
virtual

Reimplemented from CCoinsView.

Reimplemented in CCoinsViewCache.

Definition at line 68 of file coins.cpp.

Here is the call graph for this function:

bool CCoinsViewBacked::SetCoins ( const uint256 txid,
const CCoins coins 
)
virtual

Reimplemented from CCoinsView.

Reimplemented in CCoinsViewCache.

Definition at line 65 of file coins.cpp.

Here is the call graph for this function:

Member Data Documentation

CCoinsView* CCoinsViewBacked::base
protected

Definition at line 293 of file coins.h.


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