rippled
|
Classes | |
class | PeerTest |
Public Types | |
using | socket_type = boost::asio::ip::tcp::socket |
using | middle_type = boost::beast::tcp_stream |
using | stream_type = boost::beast::ssl_stream< middle_type > |
using | shared_context = std::shared_ptr< boost::asio::ssl::context > |
Public Member Functions | |
tx_reduce_relay_test () | |
Private Member Functions | |
void | doTest (const std::string &msg, bool log, std::function< void(bool)> f) |
void | testConfig (bool log) |
void | addPeer (jtx::Env &env, std::vector< std::shared_ptr< PeerTest >> &peers, std::uint16_t &nDisabled) |
void | testRelay (std::string const &test, bool txRREnabled, std::uint16_t nPeers, std::uint16_t nDisabled, std::uint16_t minPeers, std::uint16_t relayPercentage, std::uint16_t expectRelay, std::uint16_t expectQueue, std::set< Peer::id_t > const &toSkip={}) |
void | run () override |
Private Attributes | |
std::uint16_t | lid_ {0} |
std::uint16_t | rid_ {1} |
shared_context | context_ |
ProtocolVersion | protocolVersion_ |
boost::beast::multi_buffer | read_buf_ |
Definition at line 30 of file tx_reduce_relay_test.cpp.
using ripple::test::tx_reduce_relay_test::socket_type = boost::asio::ip::tcp::socket |
Definition at line 33 of file tx_reduce_relay_test.cpp.
using ripple::test::tx_reduce_relay_test::middle_type = boost::beast::tcp_stream |
Definition at line 34 of file tx_reduce_relay_test.cpp.
using ripple::test::tx_reduce_relay_test::stream_type = boost::beast::ssl_stream<middle_type> |
Definition at line 35 of file tx_reduce_relay_test.cpp.
using ripple::test::tx_reduce_relay_test::shared_context = std::shared_ptr<boost::asio::ssl::context> |
Definition at line 36 of file tx_reduce_relay_test.cpp.
ripple::test::tx_reduce_relay_test::tx_reduce_relay_test | ( | ) |
Definition at line 153 of file tx_reduce_relay_test.cpp.
|
private |
Definition at line 40 of file tx_reduce_relay_test.cpp.
|
private |
Definition at line 47 of file tx_reduce_relay_test.cpp.
|
private |
Definition at line 160 of file tx_reduce_relay_test.cpp.
|
private |
Definition at line 200 of file tx_reduce_relay_test.cpp.
|
overrideprivate |
Definition at line 233 of file tx_reduce_relay_test.cpp.
|
private |
Definition at line 146 of file tx_reduce_relay_test.cpp.
|
private |
Definition at line 147 of file tx_reduce_relay_test.cpp.
|
private |
Definition at line 148 of file tx_reduce_relay_test.cpp.
|
private |
Definition at line 149 of file tx_reduce_relay_test.cpp.
|
private |
Definition at line 150 of file tx_reduce_relay_test.cpp.