core: move hardfork back to cryptonote_core
should fix a cross dependency betewen cryptonote_basic and blockchain_db
This commit is contained in:
parent
beee286c7b
commit
12adb4a3f3
|
@ -37,7 +37,7 @@
|
|||
#include "cryptonote_protocol/blobdatatype.h"
|
||||
#include "cryptonote_basic/cryptonote_basic.h"
|
||||
#include "cryptonote_basic/difficulty.h"
|
||||
#include "cryptonote_basic/hardfork.h"
|
||||
#include "cryptonote_core/hardfork.h"
|
||||
|
||||
/** \file
|
||||
* Cryptonote Blockchain Database Interface
|
||||
|
|
|
@ -32,8 +32,7 @@ set(cryptonote_basic_sources
|
|||
cryptonote_basic_impl.cpp
|
||||
cryptonote_format_utils.cpp
|
||||
difficulty.cpp
|
||||
miner.cpp
|
||||
hardfork.cpp)
|
||||
miner.cpp)
|
||||
|
||||
set(cryptonote_basic_headers)
|
||||
|
||||
|
@ -50,8 +49,7 @@ set(cryptonote_basic_private_headers
|
|||
difficulty.h
|
||||
miner.h
|
||||
tx_extra.h
|
||||
verification_context.h
|
||||
hardfork.h)
|
||||
verification_context.h)
|
||||
|
||||
monero_private_headers(cryptonote_basic
|
||||
${crypto_private_headers})
|
||||
|
|
|
@ -30,6 +30,7 @@ set(cryptonote_core_sources
|
|||
blockchain.cpp
|
||||
cryptonote_core.cpp
|
||||
tx_pool.cpp
|
||||
hardfork.cpp
|
||||
cryptonote_tx_utils.cpp)
|
||||
|
||||
set(cryptonote_core_headers)
|
||||
|
@ -37,6 +38,7 @@ set(cryptonote_core_headers)
|
|||
set(cryptonote_core_private_headers
|
||||
blockchain_storage_boost_serialization.h
|
||||
blockchain.h
|
||||
hardfork.h
|
||||
cryptonote_core.h
|
||||
tx_pool.h
|
||||
cryptonote_tx_utils.h)
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
#include "cryptonote_basic/verification_context.h"
|
||||
#include "crypto/hash.h"
|
||||
#include "cryptonote_basic/checkpoints.h"
|
||||
#include "cryptonote_basic/hardfork.h"
|
||||
#include "cryptonote_core/hardfork.h"
|
||||
#include "blockchain_db/blockchain_db.h"
|
||||
|
||||
namespace cryptonote
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <algorithm>
|
||||
#include <cstdio>
|
||||
|
||||
#include "cryptonote_basic.h"
|
||||
#include "cryptonote_basic/cryptonote_basic.h"
|
||||
#include "blockchain_db/blockchain_db.h"
|
||||
#include "hardfork.h"
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "syncobj.h"
|
||||
#include "cryptonote_basic.h"
|
||||
#include "cryptonote_basic/cryptonote_basic.h"
|
||||
|
||||
namespace cryptonote
|
||||
{
|
|
@ -34,7 +34,7 @@
|
|||
#include "daemon/rpc_command_executor.h"
|
||||
#include "rpc/core_rpc_server_commands_defs.h"
|
||||
#include "cryptonote_core/cryptonote_core.h"
|
||||
#include "cryptonote_basic/hardfork.h"
|
||||
#include "cryptonote_core/hardfork.h"
|
||||
#include <boost/format.hpp>
|
||||
#include <ctime>
|
||||
#include <string>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include "blockchain_db/lmdb/db_lmdb.h"
|
||||
#include "cryptonote_basic/cryptonote_format_utils.h"
|
||||
#include "cryptonote_basic/hardfork.h"
|
||||
#include "cryptonote_core/hardfork.h"
|
||||
|
||||
using namespace cryptonote;
|
||||
|
||||
|
|
Loading…
Reference in New Issue