Commit Graph

40 Commits (2d182f77cd8100395cf47a721bd01dc8620c9718)

Author SHA1 Message Date
James O'Beirne b5c9bb5cb9 util: Restore GetIntArg saturating behavior
3 years ago
MarcoFalke fa186eb7f4
Remove strtol in torcontrol
3 years ago
fanquake ffdab41f94
Merge bitcoin/bitcoin#23474: test: scripted-diff cleanups after generate* changes
3 years ago
MarcoFalke fac23c2114
scripted-diff: Bump copyright headers
3 years ago
Gleb Naumenko 0659f12b13
Add minisketch dependency
3 years ago
W. J. van der Laan 28d5074343
Merge bitcoin/bitcoin#23253: bitcoin-tx: Reject non-integral and out of range int strings
3 years ago
MarcoFalke fafab8ea5e
bitcoin-tx: Reject non-integral and out of range sequence ids
3 years ago
MarcoFalke fa8d492894
rest: Return error when header count is not integral
3 years ago
Samuel Dobson fbbbc594ad
Merge bitcoin/bitcoin#23227: bitcoin-tx: Avoid treating integer overflow as OP_0
3 years ago
MarcoFalke fad55e79ca
doc: Fixup ToIntegral docs
3 years ago
MarcoFalke fa165e9545
Replace stoul with ToIntegral in dbwrapper
3 years ago
practicalswift 4343f114cc Replace use of locale dependent atoi(…) with locale-independent std::from_chars(…) (C++17)
3 years ago
practicalswift 4747db8761 util: Introduce ToIntegral<T>(const std::string&) for locale independent parsing using std::from_chars(…) (C++17)
3 years ago
Ben Woosley 4bf18b089e
Replace use of boost::trim_right with locale-independent TrimString
3 years ago
Ben Woosley 93551862a1
Replace use of boost::trim use with locale-independent TrimString
3 years ago
MarcoFalke fa81c30c6f
refactor: Move pruning/reindex/importing globals to blockstorage
4 years ago
MarcoFalke baf9cedee8
Merge #18817: doc: Document differences in bitcoind and bitcoin-qt locale handling
4 years ago
practicalswift ca185cf5a1 doc: Document differences in bitcoind and bitcoin-qt locale handling
4 years ago
fanquake daae8b8a1b
Merge #18649: tests: Add std::locale::global to list of locale dependent functions in lint-locale-dependence.sh
4 years ago
MarcoFalke fa488f131f
scripted-diff: Bump copyright headers
5 years ago
practicalswift 54b5eb2b14 tests: Add std::locale::global to list of locale dependent functions in lint-locale-dependence.sh
5 years ago
Ben Woosley d056df033a
Replace std::to_string with locale-independent alternative
5 years ago
practicalswift 259e290db8 tests: Add fuzzing harness for locale independence testing
5 years ago
MarcoFalke 95ca6aeec7
Merge #17691: doc: Add missed copyright headers
5 years ago
Hennadii Stepanov fac86ac7b3
scripted-diff: Add missed copyright headers
5 years ago
practicalswift 1f0adb3dac tests: Add std::to_string to list of locale dependent functions
5 years ago
practicalswift e3d2bcf5cf tests: Add fuzzing harnesses for various number parsing functions
5 years ago
MarcoFalke fa8f195195
Replace remaining fprintf with tfm::format manually
6 years ago
Hennadii Stepanov 561e375c73
Make PID file creating errors fatal
6 years ago
practicalswift 7c9f790761 Update KNOWN_VIOLATIONS: Remove fixed violations
6 years ago
practicalswift 587924f000 Use IsSpace(...) instead of boost::is_space
6 years ago
practicalswift c5fd143edb Use ToLower(...) instead of std::tolower
6 years ago
practicalswift e70cc8983c Use IsDigit(...) instead of std::isdigit
6 years ago
Jim Posen 2068f089c8 scripted-diff: Move util files to separate directory.
6 years ago
practicalswift 15db77f4dd Don't rely on locale dependent functions in base_blob<BITS>::SetHex(...) (uint256), DecodeBase58(...), ParseMoney(...) and ParseHex(...)
6 years ago
practicalswift ec4d57bbb3 macOS fix: Work around empty (sub)expression error when using BSD grep
6 years ago
251 b193d5a443 Removes the Boost case_conv.hpp dependency.
6 years ago
DesWurstes 000000035b Obsolete #!/bin/bash shebang
7 years ago
practicalswift 3352da8da1 Add "export LC_ALL=C" to all shell scripts
7 years ago
practicalswift 0a4ea2f458 build: Add linter for checking accidental locale dependence
7 years ago