TARAXA
|
Exception thrown in case peer seems malicious based on data he sent. More...
#include <exceptions.hpp>
Public Member Functions | |
MaliciousPeerException (const std::string &msg, std::optional< dev::p2p::NodeID > peer={}) | |
std::optional< dev::p2p::NodeID > | getPeer () const |
Public Member Functions inherited from taraxa::PacketProcessingException | |
PacketProcessingException (const std::string &msg, dev::p2p::DisconnectReason disconnect_reason) | |
dev::p2p::DisconnectReason | getDisconnectReason () const |
Private Attributes | |
std::optional< dev::p2p::NodeID > | peer_ |
Exception thrown in case peer seems malicious based on data he sent.
|
inline |
|
inline |
|
private |