|
rippled
|


Public Types | |
| using | id_t = Peer::id_t |
| using | ptr = std::shared_ptr< Peer > |
Public Member Functions | |
| PeerSim (Overlay &overlay, beast::Journal journal) | |
| ~PeerSim ()=default | |
| id_t | id () const override |
| void | onMessage (MessageSPtr const &m, SquelchCB f) override |
| Local Peer (PeerImp) More... | |
| virtual void | onMessage (protocol::TMSquelch const &squelch) override |
| Remote Peer (Directly connected Peer) More... | |
| void | send (protocol::TMSquelch const &squelch) |
| void | send (std::shared_ptr< Message > const &m) override |
| beast::IP::Endpoint | getRemoteAddress () const override |
| void | charge (Resource::Charge const &fee, std::string const &context={}) override |
| Adjust this peer's load balance based on the type of load imposed. More... | |
| bool | cluster () const override |
Returns true if this connection is a member of the cluster. More... | |
| bool | isHighLatency () const override |
| int | getScore (bool) const override |
| PublicKey const & | getNodePublic () const override |
| Json::Value | json () override |
| bool | supportsFeature (ProtocolFeature f) const override |
| std::optional< std::size_t > | publisherListSequence (PublicKey const &) const override |
| void | setPublisherListSequence (PublicKey const &, std::size_t const) override |
| uint256 const & | getClosedLedgerHash () const override |
| bool | hasLedger (uint256 const &hash, std::uint32_t seq) const override |
| void | ledgerRange (std::uint32_t &minSeq, std::uint32_t &maxSeq) const override |
| bool | hasTxSet (uint256 const &hash) const override |
| void | cycleStatus () override |
| bool | hasRange (std::uint32_t uMin, std::uint32_t uMax) override |
| bool | compressionEnabled () const override |
| bool | txReduceRelayEnabled () const override |
| void | sendTxQueue () override |
| Send aggregated transactions' hashes. More... | |
| void | addTxQueue (const uint256 &) override |
| Aggregate transaction's hash. More... | |
| void | removeTxQueue (const uint256 &) override |
| Remove hash from the transactions' hashes queue. More... | |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
Static Public Member Functions | |
| static void | resetId () |
Public Attributes | |
| PublicKey | nodePublicKey_ |
Private Attributes | |
| id_t | id_ |
| Overlay & | overlay_ |
| reduce_relay::Squelch< ManualClock > | squelch_ |
Static Private Attributes | |
| static id_t | sid_ = 0 |
Definition at line 453 of file reduce_relay_test.cpp.
Definition at line 456 of file reduce_relay_test.cpp.
|
inherited |
Definition at line 45 of file xrpld/overlay/Peer.h.
| ripple::test::PeerSim::PeerSim | ( | Overlay & | overlay, |
| beast::Journal | journal | ||
| ) |
Definition at line 457 of file reduce_relay_test.cpp.
|
default |
|
overridevirtual |
Implements ripple::Peer.
Definition at line 466 of file reduce_relay_test.cpp.
|
static |
Definition at line 472 of file reduce_relay_test.cpp.
|
overridevirtual |
Implements ripple::test::PeerPartial.
Definition at line 479 of file reduce_relay_test.cpp.
|
overridevirtual |
Remote Peer (Directly connected Peer)
Implements ripple::test::PeerPartial.
Definition at line 491 of file reduce_relay_test.cpp.
|
inherited |
Definition at line 75 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 82 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 86 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Adjust this peer's load balance based on the type of load imposed.
Implements ripple::Peer.
Definition at line 91 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Returns true if this connection is a member of the cluster.
Implements ripple::Peer.
Definition at line 96 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 101 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 106 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 111 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 116 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 121 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 126 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 131 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 135 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 141 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 146 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 150 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 155 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 159 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 164 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Implements ripple::Peer.
Definition at line 169 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Send aggregated transactions' hashes.
Implements ripple::Peer.
Definition at line 174 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Aggregate transaction's hash.
Implements ripple::Peer.
Definition at line 178 of file reduce_relay_test.cpp.
|
overridevirtualinherited |
Remove hash from the transactions' hashes queue.
Implements ripple::Peer.
Definition at line 182 of file reduce_relay_test.cpp.
|
staticprivate |
Definition at line 503 of file reduce_relay_test.cpp.
|
private |
Definition at line 504 of file reduce_relay_test.cpp.
|
private |
Definition at line 505 of file reduce_relay_test.cpp.
|
private |
Definition at line 506 of file reduce_relay_test.cpp.
|
inherited |
Definition at line 66 of file reduce_relay_test.cpp.