<p>This question was answered before for someone to clear a too low fee transaction that wasn't accepted by the network. <a href="https://bitcoin.stackexchange.com/a/2415/1461">https://bitcoin.stackexchange.com/a/2415/1461</a></p>

CC BY-SA 3.0
2012-06-11T17:23:02.470Z
2012-06-11T17:23:02.470Z
2017-04-13T12:47:33.283Z
Mohamed Ashraf
<p>I've recently been testing double-spend attacks against myself using a couple wallets, and the standard client does not appear to clear conflicting transactions from its transaction list, even if the other ones have already become a part of a block. How do I get rid of invalid transactions from my wallet?</p>

CC BY-SA 3.0
2012-05-17T23:48:24.170Z
possible duplicate of [What is the best way to recover from an accidental double-spend?](http://bitcoin.stackexchange.com/questions/3654/what-is-the-best-way-to-recover-from-an-accidental-double-spend)
Stephen Gornick
CC BY-SA 3.0
2012-05-18T00:00:42.580Z
For future reference, use a throwaway wallet for this type of activity.
Stephen Gornick
CC BY-SA 3.0
2012-05-18T00:16:23.530Z
@StephenGornick I did, but I'd like to recover any remaining balance from those addresses and the standard client tends to calculate its balance based on all transaction it sees, even the invalid ones, so I'm not sure how many Bitcoins I have left.
ThePiachu
<transactions><wallet><bitcoin-core><doublespend>
How to clear invalid transactions from one's wallet?
ThePiachu
# How to clear invalid transactions from one's wallet?

(Asked by: username_0 on 2012-05-17)

I've recently been testing double-spend attacks against myself using a couple wallets, and the standard client does not appear to clear conflicting transactions from its transaction list, even if the other ones have already become a part of a block. How do I get rid of invalid transactions from my wallet?

**Tags:** transactions, wallet, bitcoin-core, doublespend

> **Comments:**
> **username_1**: possible duplicate of [What is the best way to recover from an accidental double-spend?](http://bitcoin.stackexchange.com/questions/3654/what-is-the-best-way-to-recover-from-an-accidental-double-spend)  
> **username_1**: For future reference, use a throwaway wallet for this type of activity.  
> **username_0**: @username_1 I did, but I'd like to recover any remaining balance from those addresses and the standard client tends to calculate its balance based on all transaction it sees, even the invalid ones, so I'm not sure how many Bitcoins I have left.  

---

## 1 answers

### Answer by username_2 on 2012-06-11. Score: 1

This question was answered before for someone to clear a too low fee transaction that wasn't accepted by the network. <https://bitcoin.stackexchange.com/a/2415/1461>


---

