|
xrpld
|


Public Member Functions | |
| Handler ()=default | |
| void | squelch (PublicKey const &, Peer::id_t, std::uint32_t duration) const override |
| Squelch handler. | |
| void | unsquelch (PublicKey const &, Peer::id_t) const override |
| Unsquelch handler. | |
Public Attributes | |
| int | maxDuration {0} |
Definition at line 1453 of file reduce_relay_test.cpp.
|
default |
|
overridevirtual |
Squelch handler.
| validator | Public key of the source validator |
| id | Peer's id to squelch |
| duration | Squelch duration in seconds |
Implements xrpl::reduce_relay::SquelchHandler.
Definition at line 1457 of file reduce_relay_test.cpp.
|
overridevirtual |
Unsquelch handler.
Implements xrpl::reduce_relay::SquelchHandler.
Definition at line 1462 of file reduce_relay_test.cpp.
|
mutable |
Definition at line 1465 of file reduce_relay_test.cpp.