extract some basic code from libcryptonote_core into libcryptonote_basic

This commit is contained in:
kenshi84
2017-02-08 22:45:15 +09:00
parent 99ee3fd17e
commit 8027ce0c75
104 changed files with 830 additions and 669 deletions
+1
View File
@@ -63,6 +63,7 @@ target_link_libraries(blockchain_db
PUBLIC
common
crypto
ringct
${LMDB_LIBRARY}
${BDB_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}
+1 -1
View File
@@ -31,7 +31,7 @@
#include <memory> // std::unique_ptr
#include <cstring> // memcpy
#include "cryptonote_core/cryptonote_format_utils.h"
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "crypto/crypto.h"
#include "profile_tools.h"
+1 -1
View File
@@ -29,7 +29,7 @@
#include <boost/range/adaptor/reversed.hpp>
#include "blockchain_db.h"
#include "cryptonote_core/cryptonote_format_utils.h"
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "profile_tools.h"
#undef MONERO_DEFAULT_LOG_CATEGORY
+3 -3
View File
@@ -34,9 +34,9 @@
#include <string>
#include <exception>
#include "crypto/hash.h"
#include "cryptonote_core/cryptonote_basic.h"
#include "cryptonote_core/difficulty.h"
#include "cryptonote_core/hardfork.h"
#include "cryptonote_basic/cryptonote_basic.h"
#include "cryptonote_basic/difficulty.h"
#include "cryptonote_basic/hardfork.h"
/** \file
* Cryptonote Blockchain Database Interface
+1 -1
View File
@@ -34,7 +34,7 @@
#include <cstring> // memcpy
#include <random>
#include "cryptonote_core/cryptonote_format_utils.h"
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "crypto/crypto.h"
#include "profile_tools.h"