diff --git a/llarp/link/iwp.cpp b/llarp/link/iwp.cpp index d545a2fd9..72cf038e7 100644 --- a/llarp/link/iwp.cpp +++ b/llarp/link/iwp.cpp @@ -138,6 +138,41 @@ namespace llarp } } + ILinkSession* + LinkLayer::NewOutboundSession(const RouterContact& rc, + const AddressInfo& ai) + { + (void)rc; + (void)ai; + // TODO: implement me + return nullptr; + } + + void + LinkLayer::SendFlowID(const Addr& to, const FlowID_t& flow) + { + // TODO: implement me + (void)to; + (void)flow; + } + + bool + LinkLayer::ShouldSendFlowID(const Addr& to) const + { + (void)to; + // TODO: implement me + return false; + } + + void + LinkLayer::SendReject(const Addr& to, const FlowID_t& flow, const char* msg) + { + // TODO: implement me + (void)to; + (void)flow; + (void)msg; + } + std::unique_ptr< ILinkLayer > NewServerFromRouter(AbstractRouter* r) { @@ -158,8 +193,17 @@ namespace llarp SessionRenegotiateHandler reneg, SignBufferFunc sign, TimeoutHandler t, SessionClosedHandler closed) { - return std::unique_ptr< ILinkLayer >( - new LinkLayer(c, enckey, getrc, h, est, reneg, sign, t, closed)); + (void)c; + (void)enckey; + (void)getrc; + (void)h; + (void)est; + (void)reneg; + (void)sign; + (void)t; + (void)closed; + // TODO: implement me + return nullptr; } } // namespace iwp } // namespace llarp diff --git a/llarp/router/router.hpp b/llarp/router/router.hpp index 35aca13cb..be758e7eb 100644 --- a/llarp/router/router.hpp +++ b/llarp/router/router.hpp @@ -211,7 +211,7 @@ namespace llarp uint16_t m_OutboundPort = 0; /// always maintain this many connections to other routers - size_t minConnectedRouters = 1; + size_t minConnectedRouters = 3; /// hard upperbound limit on the number of router to router connections size_t maxConnectedRouters = 2000;