mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
63644d3d84
- nodes now send their RC to the bootstrap seed on making a request - allows the bootstrap seed to distribute RCs
13 lines
319 B
C++
13 lines
319 B
C++
#include "connection.hpp"
|
|
|
|
namespace llarp::link
|
|
{
|
|
Connection::Connection(
|
|
const std::shared_ptr<oxen::quic::connection_interface>& c,
|
|
std::shared_ptr<oxen::quic::BTRequestStream>& s,
|
|
const RemoteRC& rc)
|
|
: conn{c}, control_stream{s}, remote_rc{std::move(rc)}
|
|
{}
|
|
|
|
} // namespace llarp::link
|