Skip to content

Commit 2676e5a

Browse files
committed
Merge pull request #9426
1f733fb Make wallet2::estimate_fee static (Lee Clagett)
2 parents bedfa83 + 1f733fb commit 2676e5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wallet/wallet2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8007,7 +8007,7 @@ bool wallet2::sign_multisig_tx_from_file(const std::string &filename, std::vecto
80078007
return sign_multisig_tx_to_file(exported_txs, filename, txids);
80088008
}
80098009
//----------------------------------------------------------------------------------------------------
8010-
uint64_t wallet2::estimate_fee(bool use_per_byte_fee, bool use_rct, int n_inputs, int mixin, int n_outputs, size_t extra_size, bool bulletproof, bool clsag, bool bulletproof_plus, bool use_view_tags, uint64_t base_fee, uint64_t fee_quantization_mask) const
8010+
uint64_t wallet2::estimate_fee(bool use_per_byte_fee, bool use_rct, int n_inputs, int mixin, int n_outputs, size_t extra_size, bool bulletproof, bool clsag, bool bulletproof_plus, bool use_view_tags, uint64_t base_fee, uint64_t fee_quantization_mask)
80118011
{
80128012
if (use_per_byte_fee)
80138013
{

src/wallet/wallet2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ namespace tools
15651565
std::vector<std::pair<uint64_t, uint64_t>> estimate_backlog(const std::vector<std::pair<double, double>> &fee_levels);
15661566
std::vector<std::pair<uint64_t, uint64_t>> estimate_backlog(uint64_t min_tx_weight, uint64_t max_tx_weight, const std::vector<uint64_t> &fees);
15671567

1568-
uint64_t estimate_fee(bool use_per_byte_fee, bool use_rct, int n_inputs, int mixin, int n_outputs, size_t extra_size, bool bulletproof, bool clsag, bool bulletproof_plus, bool use_view_tags, uint64_t base_fee, uint64_t fee_quantization_mask) const;
1568+
static uint64_t estimate_fee(bool use_per_byte_fee, bool use_rct, int n_inputs, int mixin, int n_outputs, size_t extra_size, bool bulletproof, bool clsag, bool bulletproof_plus, bool use_view_tags, uint64_t base_fee, uint64_t fee_quantization_mask);
15691569
uint64_t get_fee_multiplier(uint32_t priority, int fee_algorithm = -1);
15701570
uint64_t get_base_fee(uint32_t priority);
15711571
uint64_t get_base_fee();

0 commit comments

Comments
 (0)