Well, i need to start with saying that i have been very dumb. I did not know of the change address thing.
So what i did:
1. Send btc to wallet.dat.v1
2. Make backup of wallet.dat.v1
3. Send btc from wallet.dat.v1 to someone elese, confirming correctly. Because of the change thing, this becomes wallet.dat.v2
4. I delete wallet.dat.v2
5. I restore backup wallet.dat.v1
5. I make another transaction from wallet.dat.v1, After this it is version wallet.dat.v3
6. I delete wallet.dat.v3
7. Few hours later i notice transaction is not showing up in the other wallet.
8. I restore backup wallet.dat.v1 and the amount i send in step 5 is NOT deducted.
9. At this time i start investigating and see the change address from step 3 (all btc send, 1. to receiver address and 2. to my change address). I think i must have some sort of fraud thing. So I sent all the btc to another address.
10. I notice for some weird reason i have not used fees since step 5, must be the reason why nothing happens.
11. I then send a transaction from wallet.dat.v1 to a whole new wallet with 0.001 fee.
12. Panicing is complete, after these steps i calm down. Start investigating and read about the change addresses and so fort.
13. Transaction keeps not confirming, i try respending but this doesnt show up on the blockchain.
14. I tried resending the transaction
https://blockchain.info/pushtx but i get the error, "Error Pushing. Transaction already exists"
15. I rescanned the blockchain with wallet.dat.v1 and all the coins are still there.
16. Transaction keeps not confirming, i try respending but this doesnt show up on the blockchain.
I did not knew about the change address, fortunately i am using bitcoin qt. Which has 100 pre-generated public and private keys already stored. So deleting those versions of the wallet.dat file is not a problem (as i have understand it)
Is this a classic example of a double spending?
What can/should i do now? Wait and see if the transaction gets confirmed afterall? Or wait untill the unconfirmed transactions are deleted from the blockchain and then respend the coins? I think i made around 5 transactions today, which only 1 i can find in the blockchain, this isnt confirming.
I feel so so stupid, and what i really dont understand is why all the other transactions are not showing up. I think i made at least two transactions with no transaction fee.
So i can sleep well tonight, even if i deleted several wallet.dat version. I still have the version after the initial deposit and the following backup, my coins are safe?
Am i still vulnerable for transaction mallebility as long as this issue isnt solved?
I hope all is clear, the last couple hours where a real pain in the ass. I think i almost had a heartattack when i thought i lost all the btc.
I am willing to share blockchain information, if this doesnt hurt me with being vulnerable for transaction mallebility...