Electroneum
Loading...
Searching...
No Matches
blockchain_db.cpp File Reference
#include <boost/filesystem.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <cstdio>
#include <iostream>
#include <chrono>
#include <thread>
#include "gtest/gtest.h"
#include "string_tools.h"
#include "blockchain_db/blockchain_db.h"
#include "blockchain_db/lmdb/db_lmdb.h"
#include "cryptonote_basic/cryptonote_format_utils.h"
Include dependency graph for blockchain_db.cpp:

Go to the source code of this file.

Macros

#define ASSERT_HASH_EQ(a, b)

Functions

template<class t_pod_type>
std::string pod_to_hex (const t_pod_type &s)

Macro Definition Documentation

◆ ASSERT_HASH_EQ

#define ASSERT_HASH_EQ ( a,
b )
Value:
#define ASSERT_EQ(val1, val2)
Definition gtest.h:1956
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1124
std::string pod_to_hex(const t_pod_type &s)

Definition at line 50 of file blockchain_db.cpp.

Function Documentation

◆ pod_to_hex()

template<class t_pod_type>
std::string epee::string_tools::pod_to_hex ( const t_pod_type & s)

Definition at line 317 of file string_tools.h.

318 {
319 static_assert(std::is_standard_layout<t_pod_type>(), "expected standard layout type");
320 return to_hex::string(as_byte_span(s));
321 }
span< const std::uint8_t > as_byte_span(const T &src) noexcept
Definition span.h:153