From 8d2380a31d9a6e150ee3be56149d1d262fccaf18 Mon Sep 17 00:00:00 2001 From: Duke Date: Sun, 9 Jun 2024 12:10:59 -0400 Subject: [PATCH] Record value of DEBUG_LOCKORDER in debug.log --- src/init.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/init.cpp b/src/init.cpp index 91aeda565..7458d4847 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1085,6 +1085,13 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) LogPrintf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); LogPrintf("Hush version %s (%s)\n", FormatFullVersion()); + +#ifdef DEBUG_LOCKORDER + LogPrintf("DEBUG_LOCKORDER enabled\n"); +#else + LogPrintf("DEBUG_LOCKORDER disabled\n"); +#endif + // when specifying an explicit binding address, you want to listen on it // even when -connect or -proxy is specified if (mapArgs.count("-bind")) {