Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-24 | Export assert from util/check.h | MarcoFalke | |
This avoids having to include both headers when assert and Assert are used at the same time. | |||
2023-10-26 | Fix bugprone-lambda-function-name errors | MarcoFalke | |
Can be reviewed with --color-moved=dimmed-zebra | |||
2023-01-24 | refactor: Remove c_str from util/check | MarcoFalke | |
2022-12-24 | scripted-diff: Bump copyright headers | Hennadii Stepanov | |
-BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT- Commits of previous years: - 2021: f47dda2c58b5d8d623e0e7ff4e74bc352dfa83d7 - 2020: fa0074e2d82928016a43ca408717154a1c70a4db - 2019: aaaaad6ac95b402fe18d019d67897ced6b316ee0 | |||
2022-12-01 | util: Add StrFormatInternalBug and STR_INTERNAL_BUG | MarcoFalke | |
2022-11-16 | util: Move error message formatting of NonFatalCheckError to cpp | MacroFake | |
This allows to strip down the header file | |||
2022-08-02 | refactor: Add LIFETIMEBOUND / -Wdangling-gsl to Assert() | MacroFake | |
2022-04-26 | lint: Mention NONFATAL_UNREACHABLE in lint-assertions.py | MacroFake | |
2022-04-16 | util/check: Add CHECK_NONFATAL identity function, NONFATAL_UNREACHABLE AND ↵ | Aurèle Oulès | |
UNREACHABLE macros | |||
2022-04-01 | util/check: avoid unused parameter warnings | Anthony Towns | |
2022-03-30 | util/check: stop using lambda for Assert/Assume | Anthony Towns | |
2021-12-30 | scripted-diff: Bump copyright headers | Hennadii Stepanov | |
-BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT- Commits of previous years: * 2020: fa0074e2d82928016a43ca408717154a1c70a4db * 2019: aaaaad6ac95b402fe18d019d67897ced6b316ee0 | |||
2021-12-08 | fuzz: Fix RPC internal bug detection | MarcoFalke | |
2021-03-04 | util: Make Assume() usable as unary expression | MarcoFalke | |
2020-12-31 | scripted-diff: Bump copyright headers | MarcoFalke | |
-BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT- | |||
2020-11-24 | util: Remove probably misleading TODO | MarcoFalke | |
The TODO has been added by me, but I don't remember how to solve it. The current code works fine, so just remove the TODO. | |||
2020-11-24 | util: Add Assume() identity function | MarcoFalke | |
2020-11-24 | util: Allow Assert(...) to be used in all contexts | practicalswift | |
Fixes the compile error when used inside operator[]: ./chain.h:404:23: error: C++11 only allows consecutive left square brackets when introducing an attribute return (*this)[Assert(pindex)->nHeight] == pindex; ^ | |||
2020-07-11 | util: Make Assert work with any value | MarcoFalke | |
2020-06-15 | util: Add Assert identity function | MarcoFalke | |
The utility is primarily useful to dereference pointer types, which are known to be not null at that time. For example, the ArgsManager is known to exist when the wallets are started. Instead of silently relying on that assumption, Assert can be used to abort the program and avoid UB should the assumption ever be violated. | |||
2020-06-14 | move-only: Move NDEBUG compile time check to util/check | MarcoFalke | |
2020-05-13 | Add util::Ref class as temporary alternative for c++17 std::any | Russell Yanofsky | |
This commit does not change behavior | |||
2019-10-18 | util: Add CHECK_NONFATAL and use it in src/rpc | MarcoFalke | |