Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CFeeBumper Class Reference

#include <feebumper.h>

Collaboration diagram for CFeeBumper:
[legend]

Public Member Functions

 CFeeBumper (const CWallet *pWalletIn, const uint256 txidIn, const CCoinControl &coin_control, CAmount totalFee)
 
BumpFeeResult getResult () const
 
const std::vector< std::string > & getErrors () const
 
CAmount getOldFee () const
 
CAmount getNewFee () const
 
uint256 getBumpedTxId () const
 
bool signTransaction (CWallet *pWallet)
 
bool commit (CWallet *pWalletNonConst)
 

Private Member Functions

bool preconditionChecks (const CWallet *pWallet, const CWalletTx &wtx)
 

Private Attributes

const uint256 txid
 
uint256 bumpedTxid
 
CMutableTransaction mtx
 
std::vector< std::string > vErrors
 
BumpFeeResult currentResult
 
CAmount nOldFee
 
CAmount nNewFee
 

Detailed Description

Definition at line 26 of file feebumper.h.

Constructor & Destructor Documentation

CFeeBumper::CFeeBumper ( const CWallet pWalletIn,
const uint256  txidIn,
const CCoinControl coin_control,
CAmount  totalFee 
)

Definition at line 71 of file feebumper.cpp.

Here is the call graph for this function:

Member Function Documentation

bool CFeeBumper::commit ( CWallet pWalletNonConst)

Definition at line 239 of file feebumper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

uint256 CFeeBumper::getBumpedTxId ( ) const
inline

Definition at line 34 of file feebumper.h.

Here is the caller graph for this function:

const std::vector<std::string>& CFeeBumper::getErrors ( ) const
inline

Definition at line 31 of file feebumper.h.

Here is the caller graph for this function:

CAmount CFeeBumper::getNewFee ( ) const
inline

Definition at line 33 of file feebumper.h.

Here is the caller graph for this function:

CAmount CFeeBumper::getOldFee ( ) const
inline

Definition at line 32 of file feebumper.h.

Here is the caller graph for this function:

BumpFeeResult CFeeBumper::getResult ( ) const
inline

Definition at line 30 of file feebumper.h.

Here is the caller graph for this function:

bool CFeeBumper::preconditionChecks ( const CWallet pWallet,
const CWalletTx wtx 
)
private

Definition at line 46 of file feebumper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CFeeBumper::signTransaction ( CWallet pWallet)

Definition at line 234 of file feebumper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

uint256 CFeeBumper::bumpedTxid
private

Definition at line 53 of file feebumper.h.

BumpFeeResult CFeeBumper::currentResult
private

Definition at line 56 of file feebumper.h.

CMutableTransaction CFeeBumper::mtx
private

Definition at line 54 of file feebumper.h.

CAmount CFeeBumper::nNewFee
private

Definition at line 58 of file feebumper.h.

CAmount CFeeBumper::nOldFee
private

Definition at line 57 of file feebumper.h.

const uint256 CFeeBumper::txid
private

Definition at line 52 of file feebumper.h.

std::vector<std::string> CFeeBumper::vErrors
private

Definition at line 55 of file feebumper.h.


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