Equity
Bitcoin Protocol Library
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Network::NotFoundMessage Class Reference

A not-found message. More...

#include <NotFoundMessage.h>

Inheritance diagram for Network::NotFoundMessage:
Network::Message P2p::Serializable

Public Member Functions

 NotFoundMessage (InventoryList const &missing)
 
 NotFoundMessage (uint8_t const *&in, size_t &size)
 
Overrides Serializable
virtual void serialize (std::vector< uint8_t > &out) const override
 
virtual json toJson () const override
 
- Public Member Functions inherited from Network::Message
 Message (char const *type)
 
std::string type () const
 Returns the type.
 

Public Attributes

InventoryList missing_
 Missing inventory.
 

Static Public Attributes

static char const TYPE [] = "notfound"
 Message type.
 

Detailed Description

A not-found message.

Sent in response to a get-data message if any requested data items could not be relayed, for example, because the requested transaction was not in the memory pool or relay set.

See also
GetDataMessage

Constructor & Destructor Documentation

NotFoundMessage::NotFoundMessage ( InventoryList const &  missing)
Parameters
missingmissing items
NotFoundMessage::NotFoundMessage ( uint8_t const *&  in,
size_t &  size 
)
Parameters
[in,out]inpointer to the next byte to deserialize
[in,out]sizenumber of bytes remaining in the serialized stream

The documentation for this class was generated from the following files: