|
xrpld
|


Public Member Functions | |
| Handler ()=default | |
| void | squelch (PublicKey const &, Peer::ID, std::uint32_t duration) const override |
| Squelch handler. | |
| void | unsquelch (PublicKey const &, Peer::ID) const override |
| Unsquelch handler. | |
Public Attributes | |
| int | maxDuration {0} |
Definition at line 1362 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 1366 of file reduce_relay_test.cpp.
|
overridevirtual |
Unsquelch handler.
| validator | Public key of the source validator |
| id | Peer's id to unsquelch |
Implements xrpl::reduce_relay::SquelchHandler.
Definition at line 1371 of file reduce_relay_test.cpp.
|
mutable |
Definition at line 1374 of file reduce_relay_test.cpp.