bitcoin-core error (file:wallet/crypter.cpp,line 190) #8300

issue areur3ady opened this issue on July 3, 2016
  1. areur3ady commented at 9:14 AM on July 3, 2016: none

    My BTC wallet was bitcoin core ver. 0.12.1

    After sending my BTC to another address, and waiting for two days status was 0 confirmation, maybe be because the transaction fee was not enough,

    So I found a solution from google, -salvagewallet, then it seemed to work

    But today I try to send my BTC again, after I insert my pass-phrase, a window show up which says

    assertion failed program:C:\........bitcore-qt.exe file:wallet/crypter.cpp,line 190 expression: false

    if click ignore button, it says pass-phrase incorrect.

    if click retry, it says runtime error.

    don't know how to solve this problem captured the image herehttps://i.stack.imgur.com/OCoLN.jpg

  2. MarcoFalke added the label Wallet on Jul 3, 2016
  3. MarcoFalke commented at 10:17 AM on July 3, 2016: member

    -salvagewallet is know to cause problems such as #7379 or #7647. I am assuming you are backing up the wallet.dat regularly so you can always restore to the most recent backup to be fine.

    Otherwise you should make sure to shut down bitcoin core, maybe reboot your windows machine just to be save and then backup any wallet.* files from the data dir to external storage.

  4. MarcoFalke commented at 10:26 AM on July 3, 2016: member

    And with regard to your initial problem: Unfortunately we have not yet released a version which supports bump-fee to raise the fee of an unconfirmed transaction according to BIP 125.

    Anyway, I am assuming your transaction is not BIP-125-replacable, so you'd have to raise the fee by double spending your unconfirmed transaction. This is conceptually trivial to do, but no user friendly method exists as of today. It is easy to get something wrong and lose bitcoins accidentally. Thus, I think it is better to not provide support for this in this issue tracker.

  5. areur3ady commented at 11:55 AM on July 3, 2016: none

    @MarcoFalke thx first. i am a newbie, i did not backup before. i know that's necessary, but did not do it. By removing all wallet.* file out, i have a new clean wallet and a new wallet.dat. i can encrypt this new wallet,and no problem. But no BTC in this wallet. If replace new wallet.dat by the old one, BTC come back , and problem come back.

    Now checking on the blockchain.info, no record of the 0 confirmation transaction, last time i checked(before i did -salvagewallet), there was a record. Does it meams ,transaction was canceled successfully?

  6. MarcoFalke commented at 12:06 PM on July 3, 2016: member

    i am a newbie, i did not backup before. i know that's necessary, but did not do it.

    There should also be a wallet.(timestamp).bak, which hopefully equals to your old wallet.dat.

    and problem come back.

    According to https://github.com/bitcoin/bitcoin/blob/080457c4ee97e38aa8e59de89bf3d78d1de142aa/src/wallet/crypter.cpp#L189 The wallet is probably corrupted: Some keys decrypt but not all.

  7. areur3ady commented at 1:48 PM on July 3, 2016: none

    @MarcoFalke searching again on the blockchain.info by inserting the transaction ID, it return Transaction rejected by our node. Reason: Transaction was previously accepted but has been pruned from our database.

    yes,i found that *.bak file which created before using-salvagewallet,what can i do with this?

  8. MarcoFalke commented at 2:02 PM on July 3, 2016: member

    The bak file ideally is your previous wallet.dat file (just a different name) Make sure to create a secure copy of it.

    You can then rename it to wallet.dat (Also backup the current wallet.dat) and you have your previous wallet. After you load this wallet, the node will rebroadcast the transaction because it is not yet confirmed, so you better not connect to the network...

  9. areur3ady commented at 9:57 AM on July 4, 2016: none

    @MarcoFalke May I ask about If restoring to a previous version of wallet.dat, the passphrase will be restored to the previous one too?

    beside, still waiting for the transaction to be confirmed.

  10. MarcoFalke commented at 9:59 AM on July 4, 2016: member

    @MarcoFalke May I ask about If restoring to a previous version of wallet.dat, the passphrase will be restored to the previous one too?

    Yes

  11. MarcoFalke commented at 10:01 AM on July 4, 2016: member

    beside, still waiting for the transaction to be confirmed.

    You can create a replacement transaction offline with createrawtransaction (be careful about the fees etc.) and then push it when you are sure everything is correct and the receiver knows what is happening.

  12. jonasschnelli commented at 3:22 PM on July 7, 2016: contributor

    @areur3ady: could you please update the issue title (use a more precise title) or close the issue if it has been resolved?

  13. MarcoFalke commented at 6:06 PM on July 7, 2016: member

    @jonasschnelli The issue was caused by running salvagewallet on an encrypted wallet. I don't think it is consistently possible to reproduce but might be worth to look into some day...

  14. ofry commented at 7:53 PM on July 7, 2016: none

    I have same issue with unconfirmed transactions too.

  15. laanwj commented at 6:30 AM on July 8, 2016: member

    Closing this issue, it seems to have been resolved (and the title is formulated very badly).

    Problems with unconfirmed transactions should not be reported here. Transactions need enough fee to confirm, and in the end this is up to miners to pick up your transaction, this is not a software issue.

    Replace-By-Fee and Child-Pays-For-Parent functionality is being worked on, which will allow bouncing the fee of transactions that don't confirm.

  16. laanwj closed this on Jul 8, 2016

  17. areur3ady commented at 10:20 AM on July 9, 2016: none

    @MarcoFalke problem resolved. thanks a lot.

  18. areur3ady renamed this:
    a problem of my bitcoin-core
    bitcoin-core error file:wallet/crypter.cpp,line 190
    on Jul 9, 2016
  19. areur3ady renamed this:
    bitcoin-core error file:wallet/crypter.cpp,line 190
    bitcoin-core error (file:wallet/crypter.cpp,line 190)
    on Jul 9, 2016
  20. Ewan-S commented at 3:33 PM on July 10, 2016: none

    Could you explain how you've fixed this please areur3ady? I face the same issue currently on the release version.

    I've tried -salvagewallet I've tried -reindex, I've tried a clean install, and redownloading the blockchain,

    All with the same outcome as the OP when i attempt to send coins. I do have one strange transaction for a bitcoin that was never received from over a year ago, could that be causing some sort of issue? I figured the wallet may have become corrupt, but i have regular backups, so im fairly confident the wallet.dat i have is valid, and from before any of this started.

    Any help would be appreciated

  21. ZhiweiWang commented at 12:07 PM on August 7, 2016: none

    @Ewan-S Try bitcoin 0.9.3 may sovle this problem.

  22. 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-13 21:15 UTC

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