Moving implementation in to nano::store
This commit is contained in:
parent
ece73c3605
commit
fa3240b2c1
33 changed files with 40 additions and 37 deletions
|
|
@ -112,20 +112,6 @@ add_library(
|
|||
json_handler.cpp
|
||||
ledger_walker.hpp
|
||||
ledger_walker.cpp
|
||||
lmdb/account_store.cpp
|
||||
lmdb/block_store.cpp
|
||||
lmdb/confirmation_height_store.cpp
|
||||
lmdb/final_vote_store.cpp
|
||||
lmdb/frontier_store.cpp
|
||||
lmdb/online_weight_store.cpp
|
||||
lmdb/peer_store.cpp
|
||||
lmdb/pending_store.cpp
|
||||
lmdb/pruned_store.cpp
|
||||
lmdb/version_store.cpp
|
||||
lmdb/lmdb.cpp
|
||||
lmdb/lmdb_env.cpp
|
||||
lmdb/lmdb_txn.cpp
|
||||
lmdb/wallet_value.cpp
|
||||
logging.hpp
|
||||
logging.cpp
|
||||
make_store.hpp
|
||||
|
|
@ -156,18 +142,6 @@ add_library(
|
|||
repcrawler.cpp
|
||||
request_aggregator.hpp
|
||||
request_aggregator.cpp
|
||||
rocksdb/account_store.cpp
|
||||
rocksdb/block_store.cpp
|
||||
rocksdb/confirmation_height_store.cpp
|
||||
rocksdb/final_vote_store.cpp
|
||||
rocksdb/frontier_store.cpp
|
||||
rocksdb/online_weight_store.cpp
|
||||
rocksdb/peer_store.cpp
|
||||
rocksdb/pending_store.cpp
|
||||
rocksdb/pruned_store.cpp
|
||||
rocksdb/version_store.cpp
|
||||
rocksdb/rocksdb.cpp
|
||||
rocksdb/rocksdb_txn.cpp
|
||||
scheduler/bucket.cpp
|
||||
scheduler/bucket.hpp
|
||||
scheduler/buckets.cpp
|
||||
|
|
@ -232,10 +206,10 @@ endif()
|
|||
|
||||
target_link_libraries(
|
||||
node
|
||||
nano_store
|
||||
rpc
|
||||
secure
|
||||
nano_lib
|
||||
nano_store
|
||||
libminiupnpc-static
|
||||
argon2
|
||||
lmdb
|
||||
|
|
@ -262,6 +236,5 @@ add_dependencies(node ipc_flatbuffers_lib)
|
|||
|
||||
include_directories(${CMAKE_SOURCE_DIR}/submodules)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/submodules/cpptoml/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/submodules/lmdb)
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/submodules/nano-pow-server/deps/cpptoml/include)
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ add_library(
|
|||
network_filter.cpp
|
||||
utility.hpp
|
||||
utility.cpp
|
||||
versioning.cpp
|
||||
working.hpp)
|
||||
|
||||
target_link_libraries(
|
||||
|
|
|
|||
|
|
@ -6,13 +6,17 @@ add_library(
|
|||
lmdb/confirmation_height.hpp
|
||||
lmdb/final_vote.hpp
|
||||
lmdb/frontier.hpp
|
||||
lmdb/lmdb.hpp
|
||||
lmdb/lmdb_env.hpp
|
||||
lmdb/iterator.hpp
|
||||
lmdb/transaction_impl.hpp
|
||||
lmdb/online_weight.hpp
|
||||
lmdb/peer.hpp
|
||||
lmdb/pending.hpp
|
||||
lmdb/pruned.hpp
|
||||
lmdb/transaction_impl.hpp
|
||||
lmdb/version.hpp
|
||||
lmdb/wallet_value.hpp
|
||||
rocksdb/account.hpp
|
||||
rocksdb/block.hpp
|
||||
rocksdb/confirmation_height.hpp
|
||||
|
|
@ -23,10 +27,38 @@ add_library(
|
|||
rocksdb/peer.hpp
|
||||
rocksdb/pending.hpp
|
||||
rocksdb/pruned.hpp
|
||||
rocksdb/rocksdb.hpp
|
||||
rocksdb/transaction_impl.hpp
|
||||
rocksdb/version.hpp
|
||||
versioning.hpp
|
||||
component.cpp)
|
||||
component.cpp
|
||||
lmdb/account.cpp
|
||||
lmdb/block.cpp
|
||||
lmdb/confirmation_height.cpp
|
||||
lmdb/final_vote.cpp
|
||||
lmdb/frontier.cpp
|
||||
lmdb/lmdb.cpp
|
||||
lmdb/lmdb_env.cpp
|
||||
lmdb/transaction.cpp
|
||||
lmdb/online_weight.cpp
|
||||
lmdb/peer.cpp
|
||||
lmdb/pending.cpp
|
||||
lmdb/pruned.cpp
|
||||
lmdb/version.cpp
|
||||
lmdb/wallet_value.cpp
|
||||
rocksdb/account.cpp
|
||||
rocksdb/block.cpp
|
||||
rocksdb/confirmation_height.cpp
|
||||
rocksdb/final_vote.cpp
|
||||
rocksdb/frontier.cpp
|
||||
rocksdb/online_weight.cpp
|
||||
rocksdb/peer.cpp
|
||||
rocksdb/pending.cpp
|
||||
rocksdb/pruned.cpp
|
||||
rocksdb/rocksdb.cpp
|
||||
rocksdb/transaction.cpp
|
||||
rocksdb/version.cpp
|
||||
versioning.cpp)
|
||||
|
||||
target_link_libraries(
|
||||
nano_store
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
#include <nano/lib/utility.hpp>
|
||||
#include <nano/node/common.hpp>
|
||||
#include <nano/secure/buffer.hpp>
|
||||
#include <nano/secure/ledger.hpp>
|
||||
#include <nano/store/lmdb/lmdb.hpp>
|
||||
|
|
@ -4,20 +4,20 @@
|
|||
#include <nano/lib/lmdbconfig.hpp>
|
||||
#include <nano/lib/logger_mt.hpp>
|
||||
#include <nano/lib/numbers.hpp>
|
||||
#include <nano/secure/common.hpp>
|
||||
#include <nano/store/lmdb/account.hpp>
|
||||
#include <nano/store/lmdb/block.hpp>
|
||||
#include <nano/store/lmdb/confirmation_height.hpp>
|
||||
#include <nano/store/lmdb/final_vote.hpp>
|
||||
#include <nano/store/lmdb/frontier.hpp>
|
||||
#include <nano/store/lmdb/lmdb_env.hpp>
|
||||
#include <nano/store/lmdb/iterator.hpp>
|
||||
#include <nano/store/lmdb/transaction_impl.hpp>
|
||||
#include <nano/store/lmdb/lmdb_env.hpp>
|
||||
#include <nano/store/lmdb/online_weight.hpp>
|
||||
#include <nano/store/lmdb/peer.hpp>
|
||||
#include <nano/store/lmdb/pending.hpp>
|
||||
#include <nano/store/lmdb/pruned.hpp>
|
||||
#include <nano/store/lmdb/transaction_impl.hpp>
|
||||
#include <nano/store/lmdb/version.hpp>
|
||||
#include <nano/secure/common.hpp>
|
||||
#include <nano/store/versioning.hpp>
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <nano/lib/lmdbconfig.hpp>
|
||||
#include <nano/store/lmdb/transaction_impl.hpp>
|
||||
#include <nano/store/component.hpp>
|
||||
#include <nano/store/lmdb/transaction_impl.hpp>
|
||||
|
||||
namespace nano
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,18 +4,18 @@
|
|||
#include <nano/lib/logger_mt.hpp>
|
||||
#include <nano/lib/numbers.hpp>
|
||||
#include <nano/lib/rocksdbconfig.hpp>
|
||||
#include <nano/secure/common.hpp>
|
||||
#include <nano/store/rocksdb/account.hpp>
|
||||
#include <nano/store/rocksdb/block.hpp>
|
||||
#include <nano/store/rocksdb/confirmation_height.hpp>
|
||||
#include <nano/store/rocksdb/final_vote.hpp>
|
||||
#include <nano/store/rocksdb/frontier.hpp>
|
||||
#include <nano/store/rocksdb/iterator.hpp>
|
||||
#include <nano/store/rocksdb/online_weight.hpp>
|
||||
#include <nano/store/rocksdb/peer.hpp>
|
||||
#include <nano/store/rocksdb/pending.hpp>
|
||||
#include <nano/store/rocksdb/pruned.hpp>
|
||||
#include <nano/store/rocksdb/iterator.hpp>
|
||||
#include <nano/store/rocksdb/version.hpp>
|
||||
#include <nano/secure/common.hpp>
|
||||
|
||||
#include <rocksdb/db.h>
|
||||
#include <rocksdb/filter_policy.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue