diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-03-31 15:12:48 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-03-31 15:12:48 -0500 |
commit | d0065f3063c365ac9a65a655f145382408033c4f (patch) | |
tree | 160d7bcf555df0ecba8ee925bbdb5e1ba4ace964 /src/wallet/wallet2.h | |
parent | Merge pull request #6301 (diff) | |
parent | wallet2_api: implement estimateTransactionFee (diff) | |
download | monero-d0065f3063c365ac9a65a655f145382408033c4f.tar.xz |
Merge pull request #6302
dab604e wallet2_api: implement estimateTransactionFee (xiphon)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 4b69cae40..1dac8acac 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1246,6 +1246,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(); |