MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / GetFeePerK

Method GetFeePerK

src/policy/feerate.h:62–62  ·  view source on GitHub ↗

* Return the fee in satoshis for a vsize of 1000 vbytes */

Source from the content-addressed store, hash-verified

60 * Return the fee in satoshis for a vsize of 1000 vbytes
61 */
62 CAmount GetFeePerK() const { return CAmount(m_feerate.EvaluateFeeDown(1000)); }
63 friend std::strong_ordering operator<=>(const CFeeRate& a, const CFeeRate& b) noexcept
64 {
65 return ByRatio{a.m_feerate} <=> ByRatio{b.m_feerate};

Callers 15

GetMinFeeMethod · 0.80
trackPackageRemovedMethod · 0.80
MaybeSendFeefilterMethod · 0.80
CFeeRateClass · 0.80
processTransactionMethod · 0.80
processBlockTxMethod · 0.80
MakeFeeSetFunction · 0.80
CheckFeeRateFunction · 0.80
LoadWalletArgsMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80

Calls 1

EvaluateFeeDownMethod · 0.80

Tested by 7

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_FIXTURE_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64