You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
When opening or autoloading wallets there should be clear messages about rescanning in progress and wallets' names. #259
or by manually appending settings.json file with wallet name.
When opening a wallet that has not been synchronized recently, in the first case there is a small window displayed with a message "opening wallet ". The node is rescanning at this time but nothing really indicates that, so unless user peeks in the debug.log file they may think bitcoin core is stuck.
In the second scenario, the initial window displays a message with just a single word "rescanning". This is better in a way that at least, as a user I am not confused about what is actually happening. However, there is a different problem: no indication about which wallet is being loaded. If a user has multiple wallets and don't keep them all opened all the time, but opens one, closes another and so on, upon (re)starting Bitcoin-qt they would not know for which wallet rescanning is happening.
In my opinion, both windows should clearly state:
what is going on right now exactly, i.e. rescanning
Adding a named wallet to the string presented to the user should be a one-line change.
FIX:
Explicitly enumerate all cases and be sure to not add the wallet name in one window and not leave others unnamed.
E.g., "Sending/Receiveing addresses" windows.
Additionally, adding a comment to mention when not naming is required would be appreciated.
Keep in mind that there is also a case to cover in my second scenario where a json file is configured to load multiple wallets and more than one require rescanning. However, I am not familiar with how the rescan feature works under the hood specifically. Whether it rescans for each wallet one by one or rescans for all loaded wallets at once. If the latter is the case, is it really feasible to list all those wallets there? Two or three is fine but what if someone has dozens of them? (unless there is a limit to the number of wallets)
The fix adds the wallet display name to the three initMessage calls in wallet.cpp so the splash screen consistently shows [wallet_name] Rescanning… (matching the format already used by ShowProgress inside ScanForWalletTransactions). For the unnamed default wallet, DisplayName() falls back to "default wallet".
LoadWalletsActivity::load() intentionally omits a wallet name since it loads multiple wallets simultaneously, a comment is added there explaining this.
Activity
hebasto commentedon Mar 31, 2021
Adding a named wallet to the string presented to the user should be a one-line change.
FIX:
Explicitly enumerate all cases and be sure to not add the wallet name in one window and not leave others unnamed.
E.g., "Sending/Receiveing addresses" windows.
Additionally, adding a comment to mention when not naming is required would be appreciated.
streamofstars commentedon Mar 31, 2021
Keep in mind that there is also a case to cover in my second scenario where a json file is configured to load multiple wallets and more than one require rescanning. However, I am not familiar with how the rescan feature works under the hood specifically. Whether it rescans for each wallet one by one or rescans for all loaded wallets at once. If the latter is the case, is it really feasible to list all those wallets there? Two or three is fine but what if someone has dozens of them? (unless there is a limit to the number of wallets)
hebasto commentedon Mar 31, 2021
IIRC, the former one.
hebasto commentedon Nov 6, 2021
@khan201kp
A
Wallet::getWalletName()return value:gui/src/interfaces/wallet.h
Lines 82 to 83 in 77a2f5d
AdarshRawat1 commentedon Mar 17, 2023
can I work on this issue?
hebasto commentedon Mar 17, 2023
@AdarshRawat1
This project is permissionless.
Feel free to open a PR :)
Update sendcoinsdialog.cpp
Jaysinh146 commentedon Feb 5, 2025
Hey, I would love to work on this issue. Can I take it?
hebasto commentedon Feb 5, 2025
@Jaysinh146
This project is permissionless.
Feel free to open a PR :)
You might also consider the previous attempt in #786.
Jaysinh146 commentedon Feb 5, 2025
Okay. Thank you
ShauryaaSharma commentedon Jun 15, 2026
I've opened a PR that addresses this: #939
The fix adds the wallet display name to the three initMessage calls in wallet.cpp so the splash screen consistently shows [wallet_name] Rescanning… (matching the format already used by ShowProgress inside ScanForWalletTransactions). For the unnamed default wallet, DisplayName() falls back to "default wallet".
LoadWalletsActivity::load() intentionally omits a wallet name since it loads multiple wallets simultaneously, a comment is added there explaining this.