Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
node::MiniMinerMempoolEntry Class Reference

#include <mini_miner.h>

Public Member Functions

 MiniMinerMempoolEntry (const CTransactionRef &tx_in, int64_t vsize_self, int64_t vsize_ancestor, CAmount fee_self, CAmount fee_ancestor)
 
CAmount GetModifiedFee () const
 
CAmount GetModFeesWithAncestors () const
 
int64_t GetTxSize () const
 
int64_t GetSizeWithAncestors () const
 
const CTransactionGetTx () const LIFETIMEBOUND
 
void UpdateAncestorState (int64_t vsize_change, CAmount fee_change)
 

Private Attributes

const CTransactionRef tx
 
const int64_t vsize_individual
 
int64_t vsize_with_ancestors
 
const CAmount fee_individual
 
CAmount fee_with_ancestors
 

Detailed Description

Definition at line 25 of file mini_miner.h.

Constructor & Destructor Documentation

◆ MiniMinerMempoolEntry()

node::MiniMinerMempoolEntry::MiniMinerMempoolEntry ( const CTransactionRef tx_in,
int64_t  vsize_self,
int64_t  vsize_ancestor,
CAmount  fee_self,
CAmount  fee_ancestor 
)
inlineexplicit

Definition at line 37 of file mini_miner.h.

Member Function Documentation

◆ GetModFeesWithAncestors()

CAmount node::MiniMinerMempoolEntry::GetModFeesWithAncestors ( ) const
inline

Definition at line 50 of file mini_miner.h.

◆ GetModifiedFee()

CAmount node::MiniMinerMempoolEntry::GetModifiedFee ( ) const
inline

Definition at line 49 of file mini_miner.h.

◆ GetSizeWithAncestors()

int64_t node::MiniMinerMempoolEntry::GetSizeWithAncestors ( ) const
inline

Definition at line 52 of file mini_miner.h.

◆ GetTx()

const CTransaction & node::MiniMinerMempoolEntry::GetTx ( ) const
inline

Definition at line 53 of file mini_miner.h.

◆ GetTxSize()

int64_t node::MiniMinerMempoolEntry::GetTxSize ( ) const
inline

Definition at line 51 of file mini_miner.h.

◆ UpdateAncestorState()

void node::MiniMinerMempoolEntry::UpdateAncestorState ( int64_t  vsize_change,
CAmount  fee_change 
)
inline

Definition at line 54 of file mini_miner.h.

Member Data Documentation

◆ fee_individual

const CAmount node::MiniMinerMempoolEntry::fee_individual
private

Definition at line 30 of file mini_miner.h.

◆ fee_with_ancestors

CAmount node::MiniMinerMempoolEntry::fee_with_ancestors
private

Definition at line 31 of file mini_miner.h.

◆ tx

const CTransactionRef node::MiniMinerMempoolEntry::tx
private

Definition at line 27 of file mini_miner.h.

◆ vsize_individual

const int64_t node::MiniMinerMempoolEntry::vsize_individual
private

Definition at line 28 of file mini_miner.h.

◆ vsize_with_ancestors

int64_t node::MiniMinerMempoolEntry::vsize_with_ancestors
private

Definition at line 29 of file mini_miner.h.


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