Monero
Public Member Functions | Private Member Functions | Private Attributes | List of all members
RingDB Class Reference
Inheritance diagram for RingDB:
Inheritance graph
[legend]
Collaboration diagram for RingDB:
Collaboration graph
[legend]

Public Member Functions

 RingDB (const char *genesis="")
 
 ~RingDB ()
 
- Public Member Functions inherited from tools::ringdb
 ringdb (std::string filename, const std::string &genesis)
 
void close ()
 
 ~ringdb ()
 
bool add_rings (const crypto::chacha_key &chacha_key, const cryptonote::transaction_prefix &tx)
 
bool remove_rings (const crypto::chacha_key &chacha_key, const std::vector< crypto::key_image > &key_images)
 
bool remove_rings (const crypto::chacha_key &chacha_key, const cryptonote::transaction_prefix &tx)
 
bool get_ring (const crypto::chacha_key &chacha_key, const crypto::key_image &key_image, std::vector< uint64_t > &outs)
 
bool get_rings (const crypto::chacha_key &chacha_key, const std::vector< crypto::key_image > &key_images, std::vector< std::vector< uint64_t >> &all_outs)
 
bool set_ring (const crypto::chacha_key &chacha_key, const crypto::key_image &key_image, const std::vector< uint64_t > &outs, bool relative)
 
bool set_rings (const crypto::chacha_key &chacha_key, const std::vector< std::pair< crypto::key_image, std::vector< uint64_t >>> &rings, bool relative)
 
bool blackball (const std::pair< uint64_t, uint64_t > &output)
 
bool blackball (const std::vector< std::pair< uint64_t, uint64_t >> &outputs)
 
bool unblackball (const std::pair< uint64_t, uint64_t > &output)
 
bool blackballed (const std::pair< uint64_t, uint64_t > &output)
 
bool clear_blackballs ()
 

Private Member Functions

std::string make_filename ()
 

Private Attributes

char * filename
 

Constructor & Destructor Documentation

◆ RingDB()

RingDB::RingDB ( const char *  genesis = "")
inline

◆ ~RingDB()

RingDB::~RingDB ( )
inline

Member Function Documentation

◆ make_filename()

std::string RingDB::make_filename ( )
inlineprivate

Member Data Documentation

◆ filename

char* RingDB::filename
private

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