Monero
Loading...
Searching...
No Matches
cryptonote::db_txn_guard Class Reference

#include <blockchain_db.h>

Inheritance diagram for cryptonote::db_txn_guard:
Collaboration diagram for cryptonote::db_txn_guard:

Public Member Functions

 db_txn_guard (BlockchainDB *db, bool readonly)
virtual ~db_txn_guard ()
void stop ()
void abort ()

Private Attributes

BlockchainDBdb
bool readonly
bool active

Constructor & Destructor Documentation

◆ db_txn_guard()

cryptonote::db_txn_guard::db_txn_guard ( BlockchainDB * db,
bool readonly )
inline

◆ ~db_txn_guard()

virtual cryptonote::db_txn_guard::~db_txn_guard ( )
inlinevirtual

Member Function Documentation

◆ abort()

void cryptonote::db_txn_guard::abort ( )
inline

◆ stop()

void cryptonote::db_txn_guard::stop ( )
inline

Member Data Documentation

◆ active

bool cryptonote::db_txn_guard::active
private

◆ db

BlockchainDB* cryptonote::db_txn_guard::db
private

◆ readonly

bool cryptonote::db_txn_guard::readonly
private

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