3 #include "p2p/Serialize.h" 22 std::string
type()
const {
return type_; }
An abstract class that enables an object to be serialized by the serialization functions.
Definition: Serialize.h:27
Message(char const *type)
Definition: Message.cpp:13
std::string type() const
Returns the type.
Definition: Message.h:22
Thrown by a message constructor if the data in the message is invalid.
Definition: Message.h:30
Bitcoin Network Layer.
Definition: Address.h:7
All network message classes are derived from this class.
Definition: Message.h:13