diff options
| author | Lee Clagett <code@leeclagett.com> | 2024-08-07 13:47:31 -0400 |
|---|---|---|
| committer | Lee Clagett <code@leeclagett.com> | 2024-08-07 17:43:03 -0400 |
| commit | 1f733fb868bcdc9c3b037096824ae5e2d763e0f2 (patch) | |
| tree | 663682b0ae9c09bffffc235989833862a8f665b2 /src | |
| parent | 76feeb64b7060f588739d1a267bcf8000be6f817 (diff) | |
| download | monzero-core-1f733fb868bcdc9c3b037096824ae5e2d763e0f2.tar.gz monzero-core-1f733fb868bcdc9c3b037096824ae5e2d763e0f2.tar.xz monzero-core-1f733fb868bcdc9c3b037096824ae5e2d763e0f2.zip | |
Make wallet2::estimate_fee static
Diffstat (limited to 'src')
| -rw-r--r-- | src/wallet/wallet2.cpp | 2 | ||||
| -rw-r--r-- | src/wallet/wallet2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 64f486e71..ad8c36190 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -8007,7 +8007,7 @@ bool wallet2::sign_multisig_tx_from_file(const std::string &filename, std::vecto return sign_multisig_tx_to_file(exported_txs, filename, txids); } //---------------------------------------------------------------------------------------------------- -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 +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) { if (use_per_byte_fee) { diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index c38d77675..24366f630 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1565,7 +1565,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, bool clsag, bool bulletproof_plus, bool use_view_tags, uint64_t base_fee, uint64_t fee_quantization_mask) const; + 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); uint64_t get_fee_multiplier(uint32_t priority, int fee_algorithm = -1); uint64_t get_base_fee(uint32_t priority); uint64_t get_base_fee(); |
