diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2022-10-01 12:23:59 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2022-10-25 15:57:38 +0200 |
commit | 3449880b499d54bfbcf6caeed52851ce55259ed7 (patch) | |
tree | 2bc425f70886fe8c8cf3803a00784516db2138a4 /src/logging.cpp | |
parent | 935c6c4b234bbb0565cda6f58ee298048856acae (diff) |
wallet: fast rescan: show log message for every non-skipped block
For that purpose, a new logging category BCLog::SCAN is introduced.
Diffstat (limited to 'src/logging.cpp')
-rw-r--r-- | src/logging.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logging.cpp b/src/logging.cpp index c95c0b7e37..ed0c2a56a5 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -181,6 +181,7 @@ const CLogCategoryDesc LogCategories[] = {BCLog::UTIL, "util"}, {BCLog::BLOCKSTORE, "blockstorage"}, {BCLog::TXRECONCILIATION, "txreconciliation"}, + {BCLog::SCAN, "scan"}, {BCLog::ALL, "1"}, {BCLog::ALL, "all"}, }; @@ -283,6 +284,8 @@ std::string LogCategoryToStr(BCLog::LogFlags category) return "blockstorage"; case BCLog::LogFlags::TXRECONCILIATION: return "txreconciliation"; + case BCLog::LogFlags::SCAN: + return "scan"; case BCLog::LogFlags::ALL: return "all"; } |