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

a struct containing txpool per transaction metadata More...

#include <blockchain_db.h>

Public Member Functions

void set_relay_method (relay_method method) noexcept
relay_method get_relay_method () const noexcept
bool upgrade_relay_method (relay_method method) noexcept
bool matches (const relay_category category) const noexcept
 See relay_category description.

Public Attributes

crypto::hash max_used_block_id
crypto::hash last_failed_id
uint64_t weight
uint64_t fee
uint64_t max_used_block_height
uint64_t last_failed_height
uint64_t receive_time
uint64_t last_relayed_time
 If received over i2p/tor, randomized forward time. If Dandelion++stem, randomized embargo time. Otherwise, last relayed timestamp.
uint8_t kept_by_block
uint8_t relayed
uint8_t do_not_relay
uint8_t double_spend_seen: 1
uint8_t pruned: 1
uint8_t is_local: 1
uint8_t dandelionpp_stem: 1
uint8_t is_forwarding: 1
uint8_t bf_padding: 3
uint8_t padding [76]

Detailed Description

a struct containing txpool per transaction metadata

Member Function Documentation

◆ get_relay_method()

relay_method cryptonote::txpool_tx_meta_t::get_relay_method ( ) const
noexcept

◆ matches()

bool cryptonote::txpool_tx_meta_t::matches ( const relay_category category) const
inlinenoexcept

See relay_category description.

◆ set_relay_method()

void cryptonote::txpool_tx_meta_t::set_relay_method ( relay_method method)
noexcept

◆ upgrade_relay_method()

bool cryptonote::txpool_tx_meta_t::upgrade_relay_method ( relay_method method)
noexcept
Returns
True if get_relay_method() now returns method.

Member Data Documentation

◆ bf_padding

uint8_t cryptonote::txpool_tx_meta_t::bf_padding

◆ dandelionpp_stem

uint8_t cryptonote::txpool_tx_meta_t::dandelionpp_stem

◆ do_not_relay

uint8_t cryptonote::txpool_tx_meta_t::do_not_relay

◆ double_spend_seen

uint8_t cryptonote::txpool_tx_meta_t::double_spend_seen

◆ fee

uint64_t cryptonote::txpool_tx_meta_t::fee

◆ is_forwarding

uint8_t cryptonote::txpool_tx_meta_t::is_forwarding

◆ is_local

uint8_t cryptonote::txpool_tx_meta_t::is_local

◆ kept_by_block

uint8_t cryptonote::txpool_tx_meta_t::kept_by_block

◆ last_failed_height

uint64_t cryptonote::txpool_tx_meta_t::last_failed_height

◆ last_failed_id

crypto::hash cryptonote::txpool_tx_meta_t::last_failed_id

◆ last_relayed_time

uint64_t cryptonote::txpool_tx_meta_t::last_relayed_time

If received over i2p/tor, randomized forward time. If Dandelion++stem, randomized embargo time. Otherwise, last relayed timestamp.

◆ max_used_block_height

uint64_t cryptonote::txpool_tx_meta_t::max_used_block_height

◆ max_used_block_id

crypto::hash cryptonote::txpool_tx_meta_t::max_used_block_id

◆ padding

uint8_t cryptonote::txpool_tx_meta_t::padding[76]

◆ pruned

uint8_t cryptonote::txpool_tx_meta_t::pruned

◆ receive_time

uint64_t cryptonote::txpool_tx_meta_t::receive_time

◆ relayed

uint8_t cryptonote::txpool_tx_meta_t::relayed

◆ weight

uint64_t cryptonote::txpool_tx_meta_t::weight

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