Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
TestMemPoolEntryHelper Struct Reference

#include <txmempool.h>

Collaboration diagram for TestMemPoolEntryHelper:
[legend]

Public Member Functions

CTxMemPoolEntry FromTx (const CMutableTransaction &tx) const
 
CTxMemPoolEntry FromTx (const CTransactionRef &tx) const
 
TestMemPoolEntryHelperFee (CAmount _fee)
 
TestMemPoolEntryHelperTime (NodeSeconds tp)
 
TestMemPoolEntryHelperHeight (unsigned int _height)
 
TestMemPoolEntryHelperSequence (uint64_t _seq)
 
TestMemPoolEntryHelperSpendsCoinbase (bool _flag)
 
TestMemPoolEntryHelperSigOpsCost (unsigned int _sigopsCost)
 

Public Attributes

CAmount nFee {0}
 
NodeSeconds time {}
 
unsigned int nHeight {1}
 
uint64_t m_sequence {0}
 
bool spendsCoinbase {false}
 
unsigned int sigOpCost {4}
 
LockPoints lp
 

Detailed Description

Definition at line 19 of file txmempool.h.

Member Function Documentation

◆ Fee()

TestMemPoolEntryHelper & TestMemPoolEntryHelper::Fee ( CAmount  _fee)
inline

Definition at line 33 of file txmempool.h.

Here is the caller graph for this function:

◆ FromTx() [1/2]

CTxMemPoolEntry TestMemPoolEntryHelper::FromTx ( const CMutableTransaction tx) const

Definition at line 33 of file txmempool.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FromTx() [2/2]

CTxMemPoolEntry TestMemPoolEntryHelper::FromTx ( const CTransactionRef tx) const

Definition at line 38 of file txmempool.cpp.

◆ Height()

TestMemPoolEntryHelper & TestMemPoolEntryHelper::Height ( unsigned int  _height)
inline

Definition at line 35 of file txmempool.h.

Here is the caller graph for this function:

◆ Sequence()

TestMemPoolEntryHelper & TestMemPoolEntryHelper::Sequence ( uint64_t  _seq)
inline

Definition at line 36 of file txmempool.h.

◆ SigOpsCost()

TestMemPoolEntryHelper & TestMemPoolEntryHelper::SigOpsCost ( unsigned int  _sigopsCost)
inline

Definition at line 38 of file txmempool.h.

◆ SpendsCoinbase()

TestMemPoolEntryHelper & TestMemPoolEntryHelper::SpendsCoinbase ( bool  _flag)
inline

Definition at line 37 of file txmempool.h.

◆ Time()

TestMemPoolEntryHelper & TestMemPoolEntryHelper::Time ( NodeSeconds  tp)
inline

Definition at line 34 of file txmempool.h.

Here is the caller graph for this function:

Member Data Documentation

◆ lp

LockPoints TestMemPoolEntryHelper::lp

Definition at line 27 of file txmempool.h.

◆ m_sequence

uint64_t TestMemPoolEntryHelper::m_sequence {0}

Definition at line 24 of file txmempool.h.

◆ nFee

CAmount TestMemPoolEntryHelper::nFee {0}

Definition at line 21 of file txmempool.h.

◆ nHeight

unsigned int TestMemPoolEntryHelper::nHeight {1}

Definition at line 23 of file txmempool.h.

◆ sigOpCost

unsigned int TestMemPoolEntryHelper::sigOpCost {4}

Definition at line 26 of file txmempool.h.

◆ spendsCoinbase

bool TestMemPoolEntryHelper::spendsCoinbase {false}

Definition at line 25 of file txmempool.h.

◆ time

NodeSeconds TestMemPoolEntryHelper::time {}

Definition at line 22 of file txmempool.h.


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