aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-27 21:04:56 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-29 16:28:18 +0100
commitadce8ae466cd86167f55b757dcf1188850f1cb27 (patch)
tree9909aada2c39c2376b6fa9859b80715f6a9db89c /src/wallet/wallet2.h
parentMerge pull request #2349 (diff)
downloadmonero-adce8ae466cd86167f55b757dcf1188850f1cb27.tar.xz
simplewallet: new "fee" command to display fee information
including expected transaction backlog at different priorities
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index f30c97635..86f64e71f 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -604,7 +604,10 @@ namespace tools
bool is_synced() const;
- uint64_t estimate_backlog(uint64_t blob_size, uint64_t fee);
+ std::vector<std::pair<uint64_t, uint64_t>> estimate_backlog(uint64_t min_blob_size, uint64_t max_blob_size, const std::vector<uint64_t> &fees);
+
+ uint64_t get_fee_multiplier(uint32_t priority, int fee_algorithm = -1);
+ uint64_t get_per_kb_fee();
private:
/*!
@@ -646,9 +649,7 @@ namespace tools
void parse_block_round(const cryptonote::blobdata &blob, cryptonote::block &bl, crypto::hash &bl_id, bool &error) const;
uint64_t get_upper_transaction_size_limit();
std::vector<uint64_t> get_unspent_amounts_vector();
- uint64_t get_fee_multiplier(uint32_t priority, int fee_algorithm) const;
uint64_t get_dynamic_per_kb_fee_estimate();
- uint64_t get_per_kb_fee();
float get_output_relatedness(const transfer_details &td0, const transfer_details &td1) const;
std::vector<size_t> pick_preferred_rct_inputs(uint64_t needed_money) const;
void set_spent(size_t idx, uint64_t height);