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

A mempool message. More...

#include <RequestTransactionsMessage.h>

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

Public Member Functions

 RequestTransactionsMessage (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.
 

Static Public Attributes

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

Detailed Description

A mempool message.

Requests a node to provide information about transactions it has verified but which have not yet confirmed. The response to receiving this message is an InventoryMessage containing the transaction hashes for all the transactions in the node's list of unconfirmed transaction.

This message is specified in BIP 35. With BIP 37, if a bloom filter is loaded, only transactions matching the filter are returned.

See also
InventoryMessage

Constructor & Destructor Documentation

RequestTransactionsMessage::RequestTransactionsMessage ( 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: