-
Notifications
You must be signed in to change notification settings - Fork 38k
wallet: reduce unconditional logging during load #33299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,8 @@ bool VerifyWallets(WalletContext& context) | |
} | ||
|
||
LogInfo("Using wallet directory %s", fs::PathToString(GetWalletDir())); | ||
// Print general DB information | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: the function name is informative enough imo, no need for docstring here |
||
LogDBInfo(); | ||
|
||
chain.initMessage(_("Verifying wallet(s)…")); | ||
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: if you re-touch... please update the copyright (also to match its header |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,9 @@ class CWallet; | |
class CWalletTx; | ||
struct WalletContext; | ||
|
||
// Logs information about the database, including available engines, features, and other capabilities | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: docstring doesn't correspond to what's actually being printed. To avoid it going stale quickly, how about a simple:
|
||
void LogDBInfo(); | ||
|
||
/** | ||
* Overview of wallet database classes: | ||
* | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: if you re-touch, same as
walletdb.cpp
, copyright dates needs to be updated...