Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

fees.cpp File Reference
#include <wallet/fees.h>
#include <policy/policy.h>
#include <txmempool.h>
#include <util.h>
#include <validation.h>
#include <wallet/coincontrol.h>
#include <wallet/wallet.h>
+ Include dependency graph for fees.cpp:

Go to the source code of this file.

Functions

CAmount GetRequiredFee (unsigned int nTxBytes)
 Return the minimum required fee taking into account the floating relay fee and user set minimum transaction fee. More...
 
CAmount GetMinimumFee (unsigned int nTxBytes, const CCoinControl &coin_control, const CTxMemPool &pool, const CBlockPolicyEstimator &estimator, FeeCalculation *feeCalc)
 Estimate the minimum fee considering user set parameters and the required fee. More...
 
CFeeRate GetDiscardRate (const CBlockPolicyEstimator &estimator)
 Return the maximum feerate for discarding change. More...
 

Function Documentation

◆ GetDiscardRate()

CFeeRate GetDiscardRate ( const CBlockPolicyEstimator estimator)

◆ GetMinimumFee()

◆ GetRequiredFee()

CAmount GetRequiredFee ( unsigned int  nTxBytes)

Return the minimum required fee taking into account the floating relay fee and user set minimum transaction fee.

Definition at line 16 of file fees.cpp.

References CFeeRate::GetFee(), minRelayTxFee, and CWallet::minTxFee.

Referenced by CTransactionBuilder::GetFee(), GetMinimumFee(), SendCoinsDialog::setMinimumFee(), and SendCoinsDialog::updateMinFeeLabel().

Released under the MIT license