aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-01-22 16:30:47 +0000
committerxiphon <xiphon@protonmail.com>2020-01-25 05:34:51 +0000
commitdab604e010da4a77cd4ecfc2514f2b4d3dac48b6 (patch)
tree3549ad0e0dbe846e432c5bbe67486fb590ba38a2 /src/wallet/wallet2.h
parentMerge pull request #6145 (diff)
downloadmonero-dab604e010da4a77cd4ecfc2514f2b4d3dac48b6.tar.xz
wallet2_api: implement estimateTransactionFee
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.h1
1 files changed, 1 insertions, 0 deletions
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<std::pair<uint64_t, uint64_t>> estimate_backlog(const std::vector<std::pair<double, double>> &fee_levels);
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);
+ 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();