Rename message files

pull/650/head
Michael 5 years ago
parent 68063b320c
commit 08609f9e5a
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

@ -204,10 +204,10 @@ set(LIB_SRC
routing/handler.cpp
routing/message_parser.cpp
routing/message.cpp
routing/path_confirm.cpp
routing/path_latency.cpp
routing/path_transfer.cpp
routing/transfer_traffic.cpp
routing/path_confirm_message.cpp
routing/path_latency_message.cpp
routing/path_transfer_message.cpp
routing/transfer_traffic_message.cpp
rpc/rpc.cpp
service/address.cpp
service/async_key_exchange.cpp

@ -4,7 +4,7 @@
#include <exit/exit_messages.hpp>
#include <net/ip.hpp>
#include <path/pathbuilder.hpp>
#include <routing/transfer_traffic.hpp>
#include <routing/transfer_traffic_message.hpp>
#include <deque>
#include <queue>

@ -5,7 +5,7 @@
#include <path/path_context.hpp>
#include <path/transit_hop.hpp>
#include <router/abstractrouter.hpp>
#include <routing/path_confirm.hpp>
#include <routing/path_confirm_message.hpp>
#include <util/bencode.hpp>
#include <util/buffer.hpp>
#include <util/logger.hpp>

@ -8,8 +8,8 @@
#include <profiling.hpp>
#include <router/abstractrouter.hpp>
#include <routing/dht_message.hpp>
#include <routing/path_latency.hpp>
#include <routing/transfer_traffic.hpp>
#include <routing/path_latency_message.hpp>
#include <routing/transfer_traffic_message.hpp>
#include <util/buffer.hpp>
#include <util/endian.hpp>

@ -8,8 +8,8 @@
#include <path/path_context.hpp>
#include <path/transit_hop.hpp>
#include <router/abstractrouter.hpp>
#include <routing/path_latency.hpp>
#include <routing/path_transfer.hpp>
#include <routing/path_latency_message.hpp>
#include <routing/path_transfer_message.hpp>
#include <routing/handler.hpp>
#include <util/buffer.hpp>
#include <util/endian.hpp>

@ -4,10 +4,10 @@
#include <messages/discard.hpp>
#include <path/path_types.hpp>
#include <routing/dht_message.hpp>
#include <routing/path_confirm.hpp>
#include <routing/path_latency.hpp>
#include <routing/path_transfer.hpp>
#include <routing/transfer_traffic.hpp>
#include <routing/path_confirm_message.hpp>
#include <routing/path_latency_message.hpp>
#include <routing/path_transfer_message.hpp>
#include <routing/transfer_traffic_message.hpp>
#include <util/mem.hpp>
namespace llarp

@ -1,4 +1,4 @@
#include <routing/path_confirm.hpp>
#include <routing/path_confirm_message.hpp>
#include <routing/handler.hpp>
#include <util/bencode.hpp>

@ -1,4 +1,4 @@
#include <routing/path_latency.hpp>
#include <routing/path_latency_message.hpp>
#include <routing/handler.hpp>
#include <util/bencode.hpp>

@ -1,4 +1,4 @@
#include <routing/path_transfer.hpp>
#include <routing/path_transfer_message.hpp>
#include <routing/handler.hpp>
#include <util/buffer.hpp>

@ -1,4 +1,4 @@
#include <routing/transfer_traffic.hpp>
#include <routing/transfer_traffic_message.hpp>
#include <routing/handler.hpp>
#include <util/bencode.hpp>

@ -9,7 +9,7 @@
#include <profiling.hpp>
#include <router/abstractrouter.hpp>
#include <routing/dht_message.hpp>
#include <routing/path_transfer.hpp>
#include <routing/path_transfer_message.hpp>
#include <service/endpoint_util.hpp>
#include <service/hidden_service_address_lookup.hpp>
#include <service/outbound_context.hpp>
@ -1160,18 +1160,18 @@ namespace llarp
}
m_PendingTraffic[remote].emplace_back(data, t);
// no converstation
return EnsurePathToService(remote,
[&](Address r, OutboundContext* c) {
if(c)
{
c->UpdateIntroSet(true);
for(auto& pending : m_PendingTraffic[r])
c->AsyncEncryptAndSendTo(
pending.Buffer(), pending.protocol);
}
m_PendingTraffic.erase(r);
},
5000, true);
return EnsurePathToService(
remote,
[&](Address r, OutboundContext* c) {
if(c)
{
c->UpdateIntroSet(true);
for(auto& pending : m_PendingTraffic[r])
c->AsyncEncryptAndSendTo(pending.Buffer(), pending.protocol);
}
m_PendingTraffic.erase(r);
},
5000, true);
}
void

@ -1,7 +1,7 @@
#include <service/sendcontext.hpp>
#include <router/abstractrouter.hpp>
#include <routing/path_transfer.hpp>
#include <routing/path_transfer_message.hpp>
#include <service/endpoint.hpp>
#include <util/logic.hpp>

@ -2,7 +2,7 @@
#define LLARP_SERVICE_SENDCONTEXT_HPP
#include <path/pathset.hpp>
#include <routing/path_transfer.hpp>
#include <routing/path_transfer_message.hpp>
#include <service/intro.hpp>
#include <service/protocol.hpp>
#include <util/buffer.hpp>

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include <routing/transfer_traffic.hpp>
#include <routing/transfer_traffic_message.hpp>
using TransferTrafficMessage = llarp::routing::TransferTrafficMessage;

Loading…
Cancel
Save