diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2023-09-26 13:47:05 -0400 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2023-10-20 10:30:16 -0400 |
commit | 441d00c60f0a67889d23f8556190ff99dde488bc (patch) | |
tree | e9b8c06d076309857a5082b63289cab2b8eb6390 /src/interfaces | |
parent | 156f49d682ef025fb942c997a6c5475e18eef9cf (diff) | |
download | bitcoin-441d00c60f0a67889d23f8556190ff99dde488bc.tar.xz |
interfaces: Rename CalculateBumpFees methods to be compatible with capn'proto
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/chain.h | 4 |
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 |