Monero
Loading...
Searching...
No Matches
cryptonote::txpool_event Struct Reference

#include <events.h>

Collaboration diagram for cryptonote::txpool_event:

Public Attributes

cryptonote::transaction tx
crypto::hash hash
uint64_t blob_size
uint64_t weight
bool res
 Listeners must ignore tx when this is false.

Detailed Description

Transactions are expensive to move or copy (lots of 32-byte internal buffers). This allows cryptonote::core to do a single notification for a vector of transactions, without having to move/copy duplicate or invalid transactions.

Member Data Documentation

◆ blob_size

uint64_t cryptonote::txpool_event::blob_size

◆ hash

crypto::hash cryptonote::txpool_event::hash

◆ res

bool cryptonote::txpool_event::res

Listeners must ignore tx when this is false.

◆ tx

cryptonote::transaction cryptonote::txpool_event::tx

◆ weight

uint64_t cryptonote::txpool_event::weight

The documentation for this struct was generated from the following file: