Added -purgetx command line option. #256

pull m0Ray wants to merge 1 commits into bitcoin:master from m0Ray:purgetx changing 5 files +30 −6
  1. m0Ray commented at 9:41 AM on May 23, 2011: none

    When used, purges all transactions from wallet.dat and forces a rescan. Useful for solving problems with invalid transactions stored in wallet.dat (for example, after wallet.dat manipulations).

    Corrected russian translation.

  2. Added -purgetx command line option. When used, purges all transactions
    from wallet.dat and forces a rescan.
    Useful for solving problems with invalid transactions stored in
    wallet.dat (for example, after wallet.dat manipulations).
    
    Corrected russian translation.
    291af5e931
  3. TheBlueMatt commented at 10:24 AM on May 23, 2011: member

    Can you split the russian translation to a new commit, and maybe update to latest git (as per http://forum.bitcoin.org/index.php?topic=8390.0)?

  4. m0Ray commented at 11:31 AM on May 23, 2011: none

    I am a newbie in GIT. Must I fork&clone your branch?

  5. TheBlueMatt commented at 2:18 AM on May 24, 2011: member

    No, just the one russian file. Just make your own branch (off master) and grab the russian bitcoin.po file from my repo (downloading via github should work fine).

  6. m0Ray commented at 2:38 AM on May 24, 2011: none
  7. lzsaver commented at 1:48 AM on May 25, 2011: none

    I hoped that your po-file is based on the last translation file but it seems that it is not.

    https://github.com/lzsaver/bitcoin-translation/blob/master/locale/ru/LC_MESSAGES/

  8. m0Ray closed this on May 25, 2011

  9. m0Ray reopened this on May 25, 2011

  10. lzsaver commented at 8:31 PM on May 27, 2011: none

    Anyway, I hope that -purgetx will be in the official client. :)

  11. jgarzik commented at 9:02 AM on June 14, 2011: contributor

    indeed, needs rebasing to remove the translations

  12. TheBlueMatt commented at 4:21 PM on June 14, 2011: member

    IMHO this belongs in Bitcointools or other similar software, not in Bitcoin (feature creep and its more wallet recovery which IMHO should be encouraged not using Bitcoin, but using external tools as there is too much chance to make it worse), but maybe others disagree?

  13. lzsaver commented at 11:17 AM on June 17, 2011: none

    I think that it may be used with -rescan option... So I think it should be in Bitcoin.

  14. gmaxwell commented at 7:05 AM on July 18, 2011: contributor

    Instead, perhaps, there should be a needsrecan key that tools can set? That would be generally useful for tools that modify the wallet.

  15. sipa commented at 8:30 AM on July 18, 2011: member

    -rescan only adds transactions not already in the wallet - it will never remove things from the wallet.

    Also, it is possible to force bitcoin to do a rescan by clearing (= setting to a singe 0 byte) the "bestblock" entry in wallet.dat.

  16. jgarzik commented at 7:46 PM on December 20, 2011: contributor

    Agreed, that this is a bit of an esoteric option, that will not be widely used (or tested).

    It does make more sense as a bitcointools add-on, as BlueMatt suggested.

  17. jgarzik closed this on Dec 20, 2011

  18. dexX7 referenced this in commit 1f55e2f164 on Dec 22, 2014
  19. deadalnix referenced this in commit 11004f3509 on Jan 26, 2017
  20. jnewbery referenced this in commit feb951aa45 on Feb 13, 2017
  21. classesjack referenced this in commit c187118a0c on Jan 2, 2018
  22. attilaaf referenced this in commit 8e643d994a on Jan 13, 2020
  23. hebasto referenced this in commit 5c041cb348 on May 26, 2021
  24. rajarshimaitra referenced this in commit b0e32c0cbb on Aug 5, 2021
  25. DrahtBot 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-19 18:16 UTC

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