Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | List of all members
CCoinsView Class Reference

Abstract view on the open txout dataset. More...

#include <coins.h>

+ Inheritance diagram for CCoinsView:

Public Member Functions

virtual bool GetCoins (const uint256 &txid, CCoins &coins)
 
virtual bool SetCoins (const uint256 &txid, const CCoins &coins)
 
virtual bool HaveCoins (const uint256 &txid)
 
virtual uint256 GetBestBlock ()
 
virtual bool SetBestBlock (const uint256 &hashBlock)
 
virtual bool BatchWrite (const std::map< uint256, CCoins > &mapCoins, const uint256 &hashBlock)
 
virtual bool GetStats (CCoinsStats &stats)
 
virtual ~CCoinsView ()
 

Detailed Description

Abstract view on the open txout dataset.

Definition at line 258 of file coins.h.

Constructor & Destructor Documentation

virtual CCoinsView::~CCoinsView ( )
inlinevirtual

Definition at line 284 of file coins.h.

Member Function Documentation

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

Reimplemented in CCoinsViewCache, CCoinsViewBacked, and CCoinsViewDB.

Definition at line 58 of file coins.cpp.

Referenced by CCoinsViewBacked::BatchWrite(), and CCoinsViewCache::Flush().

+ Here is the caller graph for this function:

uint256 CCoinsView::GetBestBlock ( )
virtual

Reimplemented in CCoinsViewCache, CCoinsViewBacked, and CCoinsViewDB.

Definition at line 56 of file coins.cpp.

Referenced by CCoinsViewBacked::GetBestBlock(), and CCoinsViewCache::GetBestBlock().

+ Here is the caller graph for this function:

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

Reimplemented in CCoinsViewCache, CCoinsViewBacked, CCoinsViewMemPool, and CCoinsViewDB.

Definition at line 53 of file coins.cpp.

Referenced by CCoinsViewCache::FetchCoins(), CCoinsViewMemPool::GetCoins(), CCoinsViewBacked::GetCoins(), and CCoinsViewCache::GetCoins().

+ Here is the caller graph for this function:

bool CCoinsView::GetStats ( CCoinsStats stats)
virtual

Reimplemented in CCoinsViewBacked, and CCoinsViewDB.

Definition at line 59 of file coins.cpp.

Referenced by CCoinsViewBacked::GetStats().

+ Here is the caller graph for this function:

bool CCoinsView::HaveCoins ( const uint256 txid)
virtual

Reimplemented in CCoinsViewCache, CCoinsViewBacked, CCoinsViewMemPool, and CCoinsViewDB.

Definition at line 55 of file coins.cpp.

Referenced by CCoinsViewMemPool::HaveCoins(), and CCoinsViewBacked::HaveCoins().

+ Here is the caller graph for this function:

bool CCoinsView::SetBestBlock ( const uint256 hashBlock)
virtual

Reimplemented in CCoinsViewCache, CCoinsViewBacked, and CCoinsViewDB.

Definition at line 57 of file coins.cpp.

Referenced by CCoinsViewBacked::SetBestBlock().

+ Here is the caller graph for this function:

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

Reimplemented in CCoinsViewCache, CCoinsViewBacked, and CCoinsViewDB.

Definition at line 54 of file coins.cpp.

Referenced by CCoinsViewBacked::SetCoins().

+ Here is the caller graph for this function:


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