Equity
Bitcoin Protocol Library
|
A mempool message. More...
#include <RequestTransactionsMessage.h>
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 |
Static Public Attributes | |
static char const | TYPE [] = "mempool" |
Message type. | |
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.
RequestTransactionsMessage::RequestTransactionsMessage | ( | uint8_t const *& | in, |
size_t & | size | ||
) |
[in,out] | in | pointer to the next byte to deserialize |
[in,out] | size | number of bytes remaining in the serialized stream |