aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_format_utils.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-04-18 02:12:55 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-04-18 02:12:55 -0500
commit2b999f5398426d2c4452e001cfebad34abb686ff (patch)
tree08bbe9298a72bd99ca3e35d3df667d81ef07711e /src/cryptonote_basic/cryptonote_format_utils.h
parentf49fc9b4876382d5c6f08fd7a6125b554c49e260 (diff)
parentb030f207517f59a5122409398549a02ac23829ae (diff)
downloadmonzero-core-2b999f5398426d2c4452e001cfebad34abb686ff.tar.gz
monzero-core-2b999f5398426d2c4452e001cfebad34abb686ff.tar.xz
monzero-core-2b999f5398426d2c4452e001cfebad34abb686ff.zip
Merge pull request #7819
b030f20 Fee changes from ArticMine (moneromooo-monero) 9f786f0 epee: allow copying a rolling_median_t object (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic/cryptonote_format_utils.h')
-rw-r--r--src/cryptonote_basic/cryptonote_format_utils.h2
1 files changed, 2 insertions, 0 deletions
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<class t_object>
bool t_serializable_object_from_blob(t_object& to, const blobdata& b_blob)