PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | List of all members
CCoinsViewErrorCatcher Class Reference
Inheritance diagram for CCoinsViewErrorCatcher:
[legend]
Collaboration diagram for CCoinsViewErrorCatcher:
[legend]

Public Member Functions

 CCoinsViewErrorCatcher (CCoinsView *view)
 
bool GetCoins (const uint256 &txid, CCoins &coins) const
 Retrieve the CCoins (unspent transaction outputs) for a given txid. More...
 
- Public Member Functions inherited from CCoinsViewBacked
 CCoinsViewBacked (CCoinsView *viewIn)
 
bool HaveCoins (const uint256 &txid) const
 Just check whether we have data for a given txid. More...
 
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...
 

Additional Inherited Members

- Protected Attributes inherited from CCoinsViewBacked
CCoinsViewbase
 

Detailed Description

Definition at line 140 of file init.cpp.

Constructor & Destructor Documentation

◆ CCoinsViewErrorCatcher()

CCoinsViewErrorCatcher::CCoinsViewErrorCatcher ( CCoinsView view)
inline

Definition at line 143 of file init.cpp.

Member Function Documentation

◆ GetCoins()

bool CCoinsViewErrorCatcher::GetCoins ( const uint256 txid,
CCoins coins 
) const
inlinevirtual

Retrieve the CCoins (unspent transaction outputs) for a given txid.

Reimplemented from CCoinsViewBacked.

Definition at line 144 of file init.cpp.

Here is the call graph for this function:

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