Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
txdb.cpp File Reference
#include "txdb.h"
#include "core.h"
#include "uint256.h"
#include <stdint.h>
+ Include dependency graph for txdb.cpp:

Go to the source code of this file.

Functions

static void BatchWriteCoins (CLevelDBBatch &batch, const uint256 &hash, const CCoins &coins)
 
static void BatchWriteHashBestChain (CLevelDBBatch &batch, const uint256 &hash)
 

Function Documentation

static void BatchWriteCoins ( CLevelDBBatch batch,
const uint256 hash,
const CCoins coins 
)
static

Definition at line 15 of file txdb.cpp.

References CLevelDBBatch::Erase(), CCoins::IsPruned(), and CLevelDBBatch::Write().

Referenced by CCoinsViewDB::BatchWrite(), and CCoinsViewDB::SetCoins().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void BatchWriteHashBestChain ( CLevelDBBatch batch,
const uint256 hash 
)
static

Definition at line 22 of file txdb.cpp.

References CLevelDBBatch::Write().

Referenced by CCoinsViewDB::BatchWrite(), and CCoinsViewDB::SetBestBlock().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: