PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Typedefs | Functions
coins.h File Reference
#include "compressor.h"
#include "memusage.h"
#include "consensus/consensus.h"
#include "script/standard.h"
#include "serialize.h"
#include "uint256.h"
#include "undo.h"
#include <assert.h>
#include <stdint.h>
#include <boost/unordered_map.hpp>
Include dependency graph for coins.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CCoins
 
class  CCoinsKeyHasher
 
struct  CCoinsCacheEntry
 
struct  CCoinsStats
 
class  CCoinsView
 Abstract view on the open txout dataset. More...
 
class  CCoinsViewBacked
 CCoinsView backed by another CCoinsView. More...
 
class  CCoinsModifier
 A reference to a mutable cache entry. More...
 
class  CCoinsViewCache
 CCoinsView that adds a memory cache for transactions to another CCoinsView. More...
 

Typedefs

typedef boost::unordered_map< uint256, CCoinsCacheEntry, CCoinsKeyHasherCCoinsMap
 

Functions

bool GetTransaction (const uint256 &hash, CTransaction &tx, uint256 &hashBlock, bool fAllowSlow, CBlockIndex *blockIndex)
 Return transaction in tx, and if it was found inside a block, its hash is placed in hashBlock. More...
 

Typedef Documentation

◆ CCoinsMap

typedef boost::unordered_map<uint256, CCoinsCacheEntry, CCoinsKeyHasher> CCoinsMap

Definition at line 330 of file coins.h.

Function Documentation

◆ GetTransaction()

bool GetTransaction ( const uint256 hash,
CTransaction tx,
uint256 hashBlock,
bool  fAllowSlow,
CBlockIndex blockIndex 
)

Return transaction in tx, and if it was found inside a block, its hash is placed in hashBlock.

Definition at line 2010 of file main.cpp.

Here is the caller graph for this function: