Raven Core  3.0.0
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 27 of file feebumper.h.

Constructor & Destructor Documentation

◆ CFeeBumper()

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

Definition at line 72 of file feebumper.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ commit()

bool CFeeBumper::commit ( CWallet pWalletNonConst)

Definition at line 240 of file feebumper.cpp.

Here is the call graph for this function:

◆ getBumpedTxId()

uint256 CFeeBumper::getBumpedTxId ( ) const
inline

Definition at line 35 of file feebumper.h.

◆ getErrors()

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

Definition at line 32 of file feebumper.h.

◆ getNewFee()

CAmount CFeeBumper::getNewFee ( ) const
inline

Definition at line 34 of file feebumper.h.

◆ getOldFee()

CAmount CFeeBumper::getOldFee ( ) const
inline

Definition at line 33 of file feebumper.h.

◆ getResult()

BumpFeeResult CFeeBumper::getResult ( ) const
inline

Definition at line 31 of file feebumper.h.

◆ preconditionChecks()

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

Definition at line 47 of file feebumper.cpp.

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

◆ signTransaction()

bool CFeeBumper::signTransaction ( CWallet pWallet)

Definition at line 235 of file feebumper.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bumpedTxid

uint256 CFeeBumper::bumpedTxid
private

Definition at line 54 of file feebumper.h.

◆ currentResult

BumpFeeResult CFeeBumper::currentResult
private

Definition at line 57 of file feebumper.h.

◆ mtx

CMutableTransaction CFeeBumper::mtx
private

Definition at line 55 of file feebumper.h.

◆ nNewFee

CAmount CFeeBumper::nNewFee
private

Definition at line 59 of file feebumper.h.

◆ nOldFee

CAmount CFeeBumper::nOldFee
private

Definition at line 58 of file feebumper.h.

◆ txid

const uint256 CFeeBumper::txid
private

Definition at line 53 of file feebumper.h.

◆ vErrors

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

Definition at line 56 of file feebumper.h.


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