Avoid output messages size blow-up using huge bignums literals

This commit is contained in:
Federico Bond
2018-02-12 22:53:33 +00:00
committed by Alex Beregszaszi
parent 954903b505
commit a320ffeafd
4 changed files with 23 additions and 4 deletions
+4
View File
@@ -437,6 +437,10 @@ private:
/// @returns true if the literal is a valid rational number.
static std::tuple<bool, rational> parseRational(std::string const& _value);
/// @returns a truncated readable representation of the bigint keeping only
/// up to 4 leading and 4 trailing digits.
static std::string bigintToString(dev::bigint const& num, bool _short);
};
/**