Move network_filter to lib folder
This commit is contained in:
parent
5c306a0015
commit
f6e47aa4e2
8 changed files with 9 additions and 7 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#include <nano/lib/blocks.hpp>
|
||||
#include <nano/lib/network_filter.hpp>
|
||||
#include <nano/lib/stream.hpp>
|
||||
#include <nano/node/common.hpp>
|
||||
#include <nano/secure/common.hpp>
|
||||
#include <nano/secure/network_filter.hpp>
|
||||
#include <nano/test_common/testutil.hpp>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
|
|
|||
|
|
@ -63,6 +63,8 @@ add_library(
|
|||
logging_enums.cpp
|
||||
memory.hpp
|
||||
memory.cpp
|
||||
network_filter.hpp
|
||||
network_filter.cpp
|
||||
numbers.hpp
|
||||
numbers.cpp
|
||||
object_stream.hpp
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
#include <nano/crypto_lib/random_pool.hpp>
|
||||
#include <nano/lib/blocks.hpp>
|
||||
#include <nano/lib/locks.hpp>
|
||||
#include <nano/lib/network_filter.hpp>
|
||||
#include <nano/lib/stream.hpp>
|
||||
#include <nano/secure/common.hpp>
|
||||
#include <nano/secure/network_filter.hpp>
|
||||
|
||||
nano::network_filter::network_filter (size_t size_a) :
|
||||
items (size_a, nano::uint128_t{ 0 })
|
||||
|
|
@ -3,8 +3,8 @@
|
|||
#include <nano/boost/asio/ip/tcp.hpp>
|
||||
#include <nano/lib/jsonconfig.hpp>
|
||||
#include <nano/lib/memory.hpp>
|
||||
#include <nano/lib/network_filter.hpp>
|
||||
#include <nano/secure/common.hpp>
|
||||
#include <nano/secure/network_filter.hpp>
|
||||
|
||||
#include <bitset>
|
||||
#include <optional>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <nano/lib/logging.hpp>
|
||||
#include <nano/lib/network_filter.hpp>
|
||||
#include <nano/node/common.hpp>
|
||||
#include <nano/node/messages.hpp>
|
||||
#include <nano/node/peer_exclusion.hpp>
|
||||
#include <nano/node/transport/common.hpp>
|
||||
#include <nano/node/transport/fwd.hpp>
|
||||
#include <nano/node/transport/tcp_channels.hpp>
|
||||
#include <nano/secure/network_filter.hpp>
|
||||
|
||||
#include <deque>
|
||||
#include <memory>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <nano/lib/network_filter.hpp>
|
||||
#include <nano/node/common.hpp>
|
||||
#include <nano/node/messages.hpp>
|
||||
|
||||
|
|
@ -43,7 +44,8 @@ namespace transport
|
|||
parse_status status;
|
||||
|
||||
using read_query = std::function<void (std::shared_ptr<std::vector<uint8_t>> const &, size_t, std::function<void (boost::system::error_code const &, std::size_t)>)>;
|
||||
message_deserializer (network_constants const &, network_filter &, block_uniquer &, vote_uniquer &, read_query read_op);
|
||||
|
||||
message_deserializer (nano::network_constants const &, nano::network_filter &, nano::block_uniquer &, nano::vote_uniquer &, read_query read_op);
|
||||
|
||||
/*
|
||||
* Asynchronously read next message from the channel_read_fn.
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@ add_library(
|
|||
ledger_set_any.cpp
|
||||
ledger_set_confirmed.hpp
|
||||
ledger_set_confirmed.cpp
|
||||
network_filter.hpp
|
||||
network_filter.cpp
|
||||
pending_info.hpp
|
||||
pending_info.cpp
|
||||
receivable_iterator.cpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue