14 #include <boost/test/unit_test.hpp>
const fs::path & GetDataDirNet() const
Get data directory path with appended network identifier.
void SetLogLevel(Level level)
A combination of a network address (CNetAddr) and a (TCP) port.
bool Connect(const CService &to, Connection &conn, bool &proxy_error) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex)
Connect to an I2P peer.
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(unlimited_recv)
BCLog::Logger & LogInstance()
static constexpr size_t MAX_MSG_SIZE
The maximum size of an incoming message from the I2P SAM proxy (in bytes).
std::function< std::unique_ptr< Sock >const CService &)> CreateSock
Socket factory.
An established connection with another peer.
#define ASSERT_DEBUG_LOG(message)