aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/chain.h
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2023-09-26 13:47:05 -0400
committerRyan Ofsky <ryan@ofsky.org>2023-10-20 10:30:16 -0400
commit441d00c60f0a67889d23f8556190ff99dde488bc (patch)
treee9b8c06d076309857a5082b63289cab2b8eb6390 /src/interfaces/chain.h
parent156f49d682ef025fb942c997a6c5475e18eef9cf (diff)
downloadbitcoin-441d00c60f0a67889d23f8556190ff99dde488bc.tar.xz
interfaces: Rename CalculateBumpFees methods to be compatible with capn'proto
Diffstat (limited to 'src/interfaces/chain.h')
-rw-r--r--src/interfaces/chain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h
index 18d5b8f4a3..b6ea91aaa7 100644
--- a/src/interfaces/chain.h
+++ b/src/interfaces/chain.h
@@ -244,7 +244,7 @@ public:
// outputs in the same transaction) or have shared ancestry, the bump fees are calculated
// independently, i.e. as if only one of them is spent. This may result in double-fee-bumping. This
// caveat can be rectified per use of the sister-function CalculateCombinedBumpFee(…).
- virtual std::map<COutPoint, CAmount> CalculateIndividualBumpFees(const std::vector<COutPoint>& outpoints, const CFeeRate& target_feerate) = 0;
+ virtual std::map<COutPoint, CAmount> calculateIndividualBumpFees(const std::vector<COutPoint>& outpoints, const CFeeRate& target_feerate) = 0;
//! Calculate the combined bump fee for an input set per the same strategy
// as in CalculateIndividualBumpFees(…).
@@ -252,7 +252,7 @@ public:
// bump fees per outpoint, but a single bump fee for the shared ancestry.
// The combined bump fee may be used to correct overestimation due to
// shared ancestry by multiple UTXOs after coin selection.
- virtual std::optional<CAmount> CalculateCombinedBumpFee(const std::vector<COutPoint>& outpoints, const CFeeRate& target_feerate) = 0;
+ virtual std::optional<CAmount> calculateCombinedBumpFee(const std::vector<COutPoint>& outpoints, const CFeeRate& target_feerate) = 0;
//! Get the node's package limits.
//! Currently only returns the ancestor and descendant count limits, but could be enhanced to