Electroneum
Loading...
Searching...
No Matches
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

namespace  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 197 of file ringdb.cpp.

@ BLACKBALL_CLEAR
Definition ringdb.cpp:197
@ BLACKBALL_QUERY
Definition ringdb.cpp:197
@ BLACKBALL_UNBLACKBALL
Definition ringdb.cpp:197
@ BLACKBALL_BLACKBALL
Definition ringdb.cpp:197

Function Documentation

◆ get_rings_filename()

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

Definition at line 91 of file ringdb.cpp.

92{
93 if (!boost::filesystem::is_directory(filename))
94 filename.remove_filename();
95 return filename.string();
96}
Here is the caller graph for this function: