|
Electroneum
|
#include <ringdb.h>

Public Member Functions | |
| 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 () |
| tools::ringdb::ringdb | ( | std::string | filename, |
| const std::string & | genesis | ||
| ) |
Definition at line 200 of file ringdb.cpp.
| tools::ringdb::~ringdb | ( | ) |
| bool tools::ringdb::add_rings | ( | const crypto::chacha_key & | chacha_key, |
| const cryptonote::transaction_prefix & | tx | ||
| ) |
Definition at line 253 of file ringdb.cpp.
Definition at line 471 of file ringdb.cpp.

Definition at line 466 of file ringdb.cpp.
Definition at line 483 of file ringdb.cpp.

| bool tools::ringdb::clear_blackballs | ( | ) |
Definition at line 489 of file ringdb.cpp.
| void tools::ringdb::close | ( | ) |
Definition at line 242 of file ringdb.cpp.


| bool tools::ringdb::get_ring | ( | const crypto::chacha_key & | chacha_key, |
| const crypto::key_image & | key_image, | ||
| std::vector< uint64_t > & | outs | ||
| ) |
Definition at line 338 of file ringdb.cpp.

| bool tools::ringdb::remove_rings | ( | const crypto::chacha_key & | chacha_key, |
| const std::vector< crypto::key_image > & | key_images | ||
| ) |
Definition at line 284 of file ringdb.cpp.

| bool tools::ringdb::remove_rings | ( | const crypto::chacha_key & | chacha_key, |
| const cryptonote::transaction_prefix & | tx | ||
| ) |
Definition at line 321 of file ringdb.cpp.

| bool tools::ringdb::set_ring | ( | const crypto::chacha_key & | chacha_key, |
| const crypto::key_image & | key_image, | ||
| const std::vector< uint64_t > & | outs, | ||
| bool | relative | ||
| ) |
Definition at line 374 of file ringdb.cpp.

Definition at line 477 of file ringdb.cpp.