I am using the accounts feature of bitcoind , if a wallet gets corrupted and bitcoind is started with -salvagewallet then the account information is lost.

So, is there any built in feature that will rebuilt also my accounts ?

  • have you tried to use pywallet to restore the file?
    – Joe White
    Jan 7, 2014 at 21:09
  • Haven't tried but I have read this : en.bitcoin.it/wiki/Pywallet , and there is no mention about accounts support for this utility.
    – drcelus
    Jan 7, 2014 at 22:19
  • 1
    well there's a lot more to it than just that one liner. there's an entire thread on it (bitcointalk.org/index.php?topic=34028.0). you can do wallet surgery and remove offending errors and then set the rest back in place. if you are a skilled enough wallet surgeon you can leave everything in place. Honestly though: I'm not a huge fan of the accounting feature it causes too many headaches when we should be using other means rather than accounting (personal opinion though nothing more) :)
    – Joe White
    Jan 7, 2014 at 22:33

1 Answer 1


This could be a solution once released:

"Add -zapwallettx function, a diagnostic tool to assist in wallet repair" - https://github.com/bitcoin/bitcoin/pull/3659

  • Will surely take a look when it is released. Thanks for the heads up.
    – drcelus
    Feb 13, 2014 at 9:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.