aboutsummaryrefslogtreecommitdiff
path: root/test/lint
diff options
context:
space:
mode:
authorJeffrey Czyz <jkczyz@gmail.com>2019-08-21 17:48:52 -0700
committerJeffrey Czyz <jkczyz@gmail.com>2020-01-03 11:49:21 -0800
commitf9abf4ab6d3d3e4d4b7e90723020b5422a141a6f (patch)
tree48a95956f7ead9e5f0d5051582aa8c5c60b564cb /test/lint
parent6edebacb2191373e76d79a4972d6192300976096 (diff)
Add logging for CValidationInterface events
This could help debug issues where there may be race conditions at play, such as #12978. Fixes #12994.
Diffstat (limited to 'test/lint')
-rwxr-xr-xtest/lint/lint-format-strings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lint/lint-format-strings.py b/test/lint/lint-format-strings.py
index 99127e01f8..cc24a0b609 100755
--- a/test/lint/lint-format-strings.py
+++ b/test/lint/lint-format-strings.py
@@ -17,6 +17,7 @@ FALSE_POSITIVES = [
("src/index/base.cpp", "FatalError(const char* fmt, const Args&... args)"),
("src/netbase.cpp", "LogConnectFailure(bool manual_connection, const char* fmt, const Args&... args)"),
("src/util/system.cpp", "strprintf(_(COPYRIGHT_HOLDERS).translated, COPYRIGHT_HOLDERS_SUBSTITUTION)"),
+ ("src/validationinterface.cpp", "LogPrint(BCLog::VALIDATION, fmt \"\\n\", __VA_ARGS__)"),
("src/wallet/wallet.h", "WalletLogPrintf(std::string fmt, Params... parameters)"),
("src/wallet/wallet.h", "LogPrintf((\"%s \" + fmt).c_str(), GetDisplayName(), parameters...)"),
("src/logging.h", "LogPrintf(const char* fmt, const Args&... args)"),