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

#include <setup_common.h>

Collaboration diagram for TestMemPoolEntryHelper:
[legend]

Public Member Functions

 TestMemPoolEntryHelper ()
 
CTxMemPoolEntry FromTx (const CMutableTransaction &tx) const
 
CTxMemPoolEntry FromTx (const CTransactionRef &tx) const
 
TestMemPoolEntryHelperFee (CAmount _fee)
 
TestMemPoolEntryHelperTime (int64_t _time)
 
TestMemPoolEntryHelperHeight (unsigned int _height)
 
TestMemPoolEntryHelperSpendsCoinbase (bool _flag)
 
TestMemPoolEntryHelperSigOpsCost (unsigned int _sigopsCost)
 

Public Attributes

CAmount nFee
 
int64_t nTime
 
unsigned int nHeight
 
bool spendsCoinbase
 
unsigned int sigOpCost
 
LockPoints lp
 

Detailed Description

Definition at line 173 of file setup_common.h.

Constructor & Destructor Documentation

◆ TestMemPoolEntryHelper()

TestMemPoolEntryHelper::TestMemPoolEntryHelper ( )
inline

Definition at line 183 of file setup_common.h.

Member Function Documentation

◆ Fee()

TestMemPoolEntryHelper& TestMemPoolEntryHelper::Fee ( CAmount  _fee)
inline

Definition at line 191 of file setup_common.h.

Here is the caller graph for this function:

◆ FromTx() [1/2]

CTxMemPoolEntry TestMemPoolEntryHelper::FromTx ( const CMutableTransaction tx) const

Definition at line 312 of file setup_common.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 317 of file setup_common.cpp.

◆ Height()

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

Definition at line 193 of file setup_common.h.

◆ SigOpsCost()

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

Definition at line 195 of file setup_common.h.

◆ SpendsCoinbase()

TestMemPoolEntryHelper& TestMemPoolEntryHelper::SpendsCoinbase ( bool  _flag)
inline

Definition at line 194 of file setup_common.h.

◆ Time()

TestMemPoolEntryHelper& TestMemPoolEntryHelper::Time ( int64_t  _time)
inline

Definition at line 192 of file setup_common.h.

Here is the caller graph for this function:

Member Data Documentation

◆ lp

LockPoints TestMemPoolEntryHelper::lp

Definition at line 181 of file setup_common.h.

◆ nFee

CAmount TestMemPoolEntryHelper::nFee

Definition at line 176 of file setup_common.h.

◆ nHeight

unsigned int TestMemPoolEntryHelper::nHeight

Definition at line 178 of file setup_common.h.

◆ nTime

int64_t TestMemPoolEntryHelper::nTime

Definition at line 177 of file setup_common.h.

◆ sigOpCost

unsigned int TestMemPoolEntryHelper::sigOpCost

Definition at line 180 of file setup_common.h.

◆ spendsCoinbase

bool TestMemPoolEntryHelper::spendsCoinbase

Definition at line 179 of file setup_common.h.


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