aboutsummaryrefslogtreecommitdiff
path: root/src/util/strencodings.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-10-04 09:55:05 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-10-04 09:46:17 +0200
commitfa9d72a7947d2cff541794e21e0040c3c1d43b32 (patch)
tree315f11754660c0efecaf1c64123bb7ebcf279308 /src/util/strencodings.h
parentfa3cd2853530c86c261ac7266ffe4f1726fe9ce6 (diff)
downloadbitcoin-fa9d72a7947d2cff541794e21e0040c3c1d43b32.tar.xz
Remove unused ParseDouble and ParsePrechecks
Diffstat (limited to 'src/util/strencodings.h')
-rw-r--r--src/util/strencodings.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util/strencodings.h b/src/util/strencodings.h
index 07e1966890..688707d188 100644
--- a/src/util/strencodings.h
+++ b/src/util/strencodings.h
@@ -159,13 +159,6 @@ std::optional<T> ToIntegral(const std::string& str)
[[nodiscard]] bool ParseUInt64(const std::string& str, uint64_t *out);
/**
- * Convert string to double with strict parse error feedback.
- * @returns true if the entire string could be parsed as valid double,
- * false if not the entire string could be parsed or when overflow or underflow occurred.
- */
-[[nodiscard]] bool ParseDouble(const std::string& str, double *out);
-
-/**
* Convert a span of bytes to a lower-case hexadecimal string.
*/
std::string HexStr(const Span<const uint8_t> s);