17 const std::string
random_string(buffer.begin(), buffer.end());
47 constexpr auto digits{
"0123456789"};
std::optional< CAmount > ParseMoney(const std::string &money_string)
Parse an amount denoted in full coins.
std::string_view RemovePrefixView(std::string_view str, std::string_view prefix)
FUZZ_TARGET(parse_numbers)
std::string random_string(uint32_t length)
bool ParseFixedPoint(std::string_view val, int decimals, int64_t *amount_out)
Parse number as fixed point according to JSON number syntax.