aboutsummaryrefslogtreecommitdiff
path: root/src/test/util_tests.cpp
AgeCommit message (Expand)Author
2022-08-30Merge bitcoin/bitcoin#25733: tidy: enable bugprone-use-after-moveMacroFake
2022-08-30Merge bitcoin/bitcoin#25717: p2p: Implement anti-DoS headers syncfanquake
2022-08-30test: work around bugprone-use-after-move warnings in util testsfanquake
2022-08-24Make Join() util work with any container typeMacroFake
2022-08-23Add bitdeque, an std::deque<bool> analogue that does bit packing.Pieter Wuille
2022-08-19Remove Join() helper only used in testsMacroFake
2022-08-08test: Add test case for `ReplaceAll()` functionHennadii Stepanov
2022-05-20Merge bitcoin/bitcoin#23595: util: Add ParseHex<std::byte>() helperlaanwj
2022-05-20Merge bitcoin/bitcoin#25101: Add mockable clock typefanquake
2022-05-18Add mockable clock type and TicksSinceEpoch helperMarcoFalke
2022-05-17refactor: use C++11 default initializersfanquake
2022-05-11Remove unused GetTimeSecondsMacroFake
2022-05-08Add time helpers for std::chrono::steady_clockMarcoFalke
2022-05-04Merge bitcoin/bitcoin#24852: util: optimize HexStrlaanwj
2022-05-04Extend Split to work with multiple separatorsMartin Leitner-Ankerl
2022-05-03Merge bitcoin/bitcoin#24470: Disallow more unsafe string->path conversions al...MacroFake
2022-04-27test: Add test for embedded null in hex stringMarcoFalke
2022-04-27Use std::string_view throughout util strencodings/stringPieter Wuille
2022-04-21Disallow more unsafe string->path conversions allowed by path append operatorsRyan Ofsky
2022-04-17test: Adds a test for HexStr that checks all 256 bytesMartin Leitner-Ankerl
2022-04-11test: add unit tests for `SplitString` helperKiminuo
2022-03-30util/check: stop using lambda for Assert/AssumeAnthony Towns
2022-03-10Merge bitcoin/bitcoin#24371: util: Fix `ReadBinaryFile` reading beyond maxsizeMarcoFalke
2022-02-22Merge bitcoin/bitcoin#24367: User-facing content and codebase doc fixups from...laanwj
2022-02-21Replace "can not" with "cannot" in docs, user messages, and testsJon Atack
2022-02-21util: Add SaturatingAdd helperMarcoFalke
2022-02-19util: Fix ReadBinaryFile reading beyond maxsizeklementtan
2022-02-04Re-enable util_datadir check disabled in #20744Ryan Ofsky
2022-02-03refactor: replace boost::filesystem with std::filesystemKiminuo
2022-01-11util: Restore GetIntArg saturating behaviorJames O'Beirne
2022-01-05Merge bitcoin/bitcoin#23411: refactor: Avoid integer overflow in ApplyStats w...MarcoFalke
2021-12-30scripted-diff: Bump copyright headersHennadii Stepanov
2021-12-17Move AdditionOverflow to util, Add CheckedAdd with unit testsMarcoFalke
2021-11-29More Span simplificationsPieter Wuille
2021-11-24Merge bitcoin/bitcoin#23451: span: Add std::byte helpersMarcoFalke
2021-11-17util: ParseByteUnits - Parse a string with suffix unit [k|K|m|M|g|G|t|T]Douglas Chimento
2021-11-09span: Add std::byte helpersMarcoFalke
2021-10-15Merge bitcoin/bitcoin#22937: refactor: Forbid calling unsafe fs::path(std::st...W. J. van der Laan
2021-10-06test: Add ParseMoney and ParseScript testsMarcoFalke
2021-10-05refactor: Block unsafe fs::path std::string conversion callsRussell Yanofsky
2021-10-04Merge bitcoin/bitcoin#23156: refactor: Remove unused ParsePrechecks and Parse...MarcoFalke
2021-10-04Remove unused ParseDouble and ParsePrechecksMarcoFalke
2021-10-01refactor: Remove unused ParsePrechecks from ParseIntegralMarcoFalke
2021-09-30Replace use of locale dependent atoi(…) with locale-independent std::from_c...practicalswift
2021-09-30Merge bitcoin/bitcoin#20457: util: Make Parse{Int,UInt}{32,64} use locale ind...W. J. van der Laan
2021-09-18util: Introduce ToIntegral<T>(const std::string&) for locale independent pars...practicalswift
2021-09-27scripted-diff: Rename overloaded int GetArg to GetIntArgRussell Yanofsky
2021-09-02tests: Add TrimString(...) testspracticalswift
2021-08-04util: check MoneyRange() inside ParseMoney()fanquake
2021-08-04util: make ParseMoney return a std::optional<CAmount>fanquake