From dab604e010da4a77cd4ecfc2514f2b4d3dac48b6 Mon Sep 17 00:00:00 2001 From: xiphon Date: Wed, 22 Jan 2020 16:30:47 +0000 Subject: wallet2_api: implement estimateTransactionFee --- src/wallet/wallet2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/wallet2.h') diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 8f840a42d..1d40d7f2f 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1243,6 +1243,7 @@ private: std::vector> estimate_backlog(const std::vector> &fee_levels); std::vector> estimate_backlog(uint64_t min_tx_weight, uint64_t max_tx_weight, const std::vector &fees); + 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, uint64_t base_fee, uint64_t fee_multiplier, uint64_t fee_quantization_mask) const; uint64_t get_fee_multiplier(uint32_t priority, int fee_algorithm = -1); uint64_t get_base_fee(); uint64_t get_fee_quantization_mask(); -- cgit v1.2.3