Common argument defaults for NODE_BLOOM stuff and -wallet #7509

pull luke-jr wants to merge 1 commits into bitcoin:master from luke-jr:common_defaults_0.12 changing 3 files +11 −6
  1. luke-jr commented at 6:38 AM on February 11, 2016: member

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

  2. Common argument defaults for NODE_BLOOM stuff and -wallet 1fb91b3496
  3. paveljanik commented at 7:05 AM on February 11, 2016: 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.

  4. laanwj commented at 8:02 AM on February 11, 2016: member

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

  5. laanwj added the label Docs and Output on Feb 11, 2016
  6. pstratem commented at 12:58 AM on February 12, 2016: contributor

    utACK 1fb91b3496f2f07bbace1f9f8e716f7f62d889e6

  7. dcousens commented at 3:36 AM on February 12, 2016: contributor

    utACK 1fb91b3

  8. laanwj commented at 9:00 AM on February 16, 2016: member

    @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.

  9. laanwj merged this on Feb 16, 2016
  10. laanwj closed this on Feb 16, 2016

  11. laanwj referenced this in commit 2d4f73f47e on Feb 16, 2016
  12. luke-jr referenced this in commit ceb68ace62 on Jun 9, 2016
  13. luke-jr referenced this in commit d90c409398 on Jun 27, 2016
  14. luke-jr referenced this in commit 12a281acdc on Jun 27, 2016
  15. codablock referenced this in commit 97c7da4b7a on Dec 11, 2017
  16. zkbot referenced this in commit 8713d73daf on Dec 18, 2019
  17. zkbot referenced this in commit 2da77edbfe on Dec 18, 2019
  18. zkbot referenced this in commit 577f7ef72a on Dec 18, 2019
  19. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me