From b030f207517f59a5122409398549a02ac23829ae Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 29 Jul 2021 12:02:08 +0000 Subject: Fee changes from ArticMine https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf with a change to use 1.7 instead of 2.0 for the max long term increase rate --- src/cryptonote_basic/cryptonote_format_utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cryptonote_basic/cryptonote_format_utils.h') diff --git a/src/cryptonote_basic/cryptonote_format_utils.h b/src/cryptonote_basic/cryptonote_format_utils.h index 25cd89e99..ce3ce7492 100644 --- a/src/cryptonote_basic/cryptonote_format_utils.h +++ b/src/cryptonote_basic/cryptonote_format_utils.h @@ -144,6 +144,8 @@ namespace cryptonote std::string get_unit(unsigned int decimal_point = -1); std::string print_money(uint64_t amount, unsigned int decimal_point = -1); std::string print_money(const boost::multiprecision::uint128_t &amount, unsigned int decimal_point = -1); + uint64_t round_money_up(uint64_t amount, unsigned significant_digits); + std::string round_money_up(const std::string &amount, unsigned significant_digits); //--------------------------------------------------------------- template bool t_serializable_object_from_blob(t_object& to, const blobdata& b_blob) -- cgit v1.2.3