Electroneum
RingDB Class Reference
Inheritance diagram for RingDB:
Collaboration diagram for RingDB:

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 set_ring (const crypto::chacha_key &chacha_key, const crypto::key_image &key_image, const std::vector< uint64_t > &outs, 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 ()
 

Detailed Description

Definition at line 74 of file ringdb.cpp.

Constructor & Destructor Documentation

◆ RingDB()

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

Definition at line 77 of file ringdb.cpp.

77 : tools::ringdb(make_filename(), genesis) { }

◆ ~RingDB()

RingDB::~RingDB ( )
inline

Definition at line 78 of file ringdb.cpp.

78 { close(); boost::filesystem::remove_all(filename); free(filename); }
void close()
Definition: ringdb.cpp:242
Here is the call graph for this function:

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