BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Functions
coins.cpp File Reference
#include <coins.h>
#include <consensus/consensus.h>
#include <random.h>
Include dependency graph for coins.cpp:

Go to the source code of this file.

Functions

void AddCoins (CCoinsViewCache &cache, const CTransaction &tx, int nHeight, bool check)
 Utility function to add all of a transaction's outputs to a cache. More...
 
const CoinAccessByTxid (const CCoinsViewCache &view, const uint256 &txid)
 Utility function to find any unspent output with a given txid. More...
 

Function Documentation

◆ AccessByTxid()

const Coin& AccessByTxid ( const CCoinsViewCache view,
const uint256 txid 
)

Utility function to find any unspent output with a given txid.

Definition at line 250 of file coins.cpp.

Here is the caller graph for this function:

◆ AddCoins()

void AddCoins ( CCoinsViewCache cache,
const CTransaction tx,
int  nHeight,
bool  check 
)

Utility function to add all of a transaction's outputs to a cache.

Definition at line 87 of file coins.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: