Raven Core  3.0.0
P2P Digital Currency
Functions
fees.h File Reference
#include "amount.h"
Include dependency graph for fees.h:
This graph shows which files directly or indirectly include this file:

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)

Return the maximum feerate for discarding change.

Definition at line 81 of file fees.cpp.

Here is the call graph for this function:

◆ GetMinimumFee()

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.

Definition at line 23 of file fees.cpp.

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

◆ 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 17 of file fees.cpp.

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