Skip to content

Conversation

luke-jr
Copy link
Member

@luke-jr luke-jr commented Feb 11, 2016

Can we stop adding more of these to fix? :p

@paveljanik
Copy link
Contributor

When you are at this...

These:

init.cpp:    strUsage += HelpMessageOpt("-salvagewallet", _("Attempt to recover private keys from a corrupt wallet.dat on startup"));
init.cpp:                uiInterface.InitMessage(_("Error loading wallet.dat: Wallet corrupted"));
init.cpp:                strErrors << _("Error loading wallet.dat: Wallet corrupted") << "\n";
init.cpp:                InitWarning(_("Error reading wallet.dat! All keys read correctly, but transaction data"
init.cpp:                strErrors << strprintf(_("Error loading wallet.dat: Wallet requires newer version of %s"), _(PACKAGE_NAME)) << "\n";
init.cpp:                strErrors << _("Error loading wallet.dat") << "\n";

should probably use the selected wallet.dat file name (strWalletFile) instead of the hardcoded name. And there are other such cases.

@laanwj
Copy link
Member

laanwj commented Feb 11, 2016

Concept ACK
-enforcenodebloom is going away soon (#6641), so I don't think it needs any fixes/improvements

@laanwj laanwj added the Docs label Feb 11, 2016
@pstratem
Copy link
Contributor

utACK 1fb91b3

@dcousens
Copy link
Contributor

utACK 1fb91b3

@laanwj
Copy link
Member

laanwj commented Feb 16, 2016

@paveljanik I think the -salvagewallet help message should simply say 'wallet', not 'wallet.dat'.
For the warnings and errors you're right and it'd be better to use the actual wallet file name.

@laanwj laanwj merged commit 1fb91b3 into bitcoin:master Feb 16, 2016
laanwj added a commit that referenced this pull request Feb 16, 2016
1fb91b3 Common argument defaults for NODE_BLOOM stuff and -wallet (Luke Dashjr)
luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 27, 2016
codablock pushed a commit to codablock/dash that referenced this pull request Dec 11, 2017
… -wallet

1fb91b3 Common argument defaults for NODE_BLOOM stuff and -wallet (Luke Dashjr)
zkbot added a commit to zcash/zcash that referenced this pull request Dec 18, 2019
Bitcoin 0.12 cleanup PRs 2

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6631
- bitcoin/bitcoin#6664
  - Only the first commit (we already had the second through bitcoin/bitcoin#6825).
- bitcoin/bitcoin#6669
- bitcoin/bitcoin#6887
  - Only the non-QT parts.
- bitcoin/bitcoin#6962
- bitcoin/bitcoin#6822
  - Only first and third commits (we already had the second through an earlier PR).
- bitcoin/bitcoin#7136
  - Excludes Travis CI changes, and fixes to documents we don't have anymore.
- bitcoin/bitcoin#7084
- bitcoin/bitcoin#7509
- bitcoin/bitcoin#7617
- bitcoin/bitcoin#7726

Part of #2074.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants