Monero
Public Member Functions | Private Attributes | List of all members
cryptonote::LockedTXN Class Reference

#include <locked_txn.h>

Collaboration diagram for cryptonote::LockedTXN:
Collaboration graph
[legend]

Public Member Functions

 LockedTXN (BlockchainDB &db)
 
void commit ()
 
void abort ()
 
 ~LockedTXN ()
 

Private Attributes

BlockchainDBm_db
 
bool m_batch
 
bool m_active
 

Constructor & Destructor Documentation

◆ LockedTXN()

cryptonote::LockedTXN::LockedTXN ( BlockchainDB db)
inline

◆ ~LockedTXN()

cryptonote::LockedTXN::~LockedTXN ( )
inline

Member Function Documentation

◆ abort()

void cryptonote::LockedTXN::abort ( )
inline

◆ commit()

void cryptonote::LockedTXN::commit ( )
inline

Member Data Documentation

◆ m_active

bool cryptonote::LockedTXN::m_active
private

◆ m_batch

bool cryptonote::LockedTXN::m_batch
private

◆ m_db

BlockchainDB& cryptonote::LockedTXN::m_db
private

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