Electroneum
ringdb.cpp File Reference
#include <lmdb.h>
#include <boost/algorithm/string.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include <boost/filesystem.hpp>
#include "common/util.h"
#include "misc_log_ex.h"
#include "misc_language.h"
#include "wallet_errors.h"
#include "ringdb.h"
Include dependency graph for ringdb.cpp:

Go to the source code of this file.

Namespaces

 tools
 Various Tools.
 

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "wallet.ringdb"
 

Enumerations

enum  { BLACKBALL_BLACKBALL, BLACKBALL_UNBLACKBALL, BLACKBALL_QUERY, BLACKBALL_CLEAR }
 

Functions

std::string get_rings_filename (boost::filesystem::path filename)
 

Macro Definition Documentation

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "wallet.ringdb"

Definition at line 40 of file ringdb.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BLACKBALL_BLACKBALL 
BLACKBALL_UNBLACKBALL 
BLACKBALL_QUERY 
BLACKBALL_CLEAR 

Definition at line 195 of file ringdb.cpp.

Function Documentation

◆ get_rings_filename()

std::string get_rings_filename ( boost::filesystem::path  filename)

Definition at line 89 of file ringdb.cpp.

90 {
91  if (!boost::filesystem::is_directory(filename))
92  filename.remove_filename();
93  return filename.string();
94 }