Title: Lost Bitcoin Transaction History after zapwallettxes help! Post by: nichol@s12josE on January 01, 2018, 10:12:54 AM Hello,
I have an unconfirmed transaction with very low fee and i thought of double spending that transaction, i have executed Code: -zapwallettxes Can anyone help me to recover the lost transaction history? Title: Re: Lost Bitcoin Transaction History after zapwallettxes help! Post by: xdrpx on January 01, 2018, 10:31:18 AM Can you try the following on next startup:
Code: -rescan Add that to your startup parameter for Bitcoin core. This should bring back all those transactions which have already been broadcasted and confirmed on the blockchain. Basically zapwallettxes will only remove those transactions that have not been included the blockchain. Title: Re: Lost Bitcoin Transaction History after zapwallettxes help! Post by: nichol@s12josE on January 01, 2018, 10:36:05 AM Can you try the following on next startup: Code: -rescan Add that to your startup parameter for Bitcoin core. This should bring back all those transactions which have already been broadcasted and confirmed on the blockchain. Basically zapwallettxes will only remove those transactions that have not been included the blockchain. i have tried rescanning it 3 to 4 times , i have got the transactions back , but they are not assigned to my accounts , i have lost data in accounts ex: i used send from from one of my account A , and now account A is not showing the transaction , if i check for gettransaction it is showing transaction is not assigned to any account Title: Re: Lost Bitcoin Transaction History after zapwallettxes help! Post by: xdrpx on January 01, 2018, 11:51:54 AM Oh! I'm sorry, I'm not so sure if the -rescan will place them back into the respective accounts that you're mentioning about. But I tried to do some research and came up with this:
Code: setaccount "address" "account" It might allow you to manually assign those addresses to your accounts, but I'm not sure if it can be done in an automated way. Also, incase you're planning to go back your old wallet.dat maybe befoe you performed the zapwallettxes you may have an older wallet.dat backup that you could try replacing? Just my thought that maybe zapwallettxes might update your wallet, but you could use your older wallet.dat. Title: Re: Lost Bitcoin Transaction History after zapwallettxes help! Post by: Thirdspace on January 01, 2018, 04:14:12 PM i have tried rescanning it 3 to 4 times , i have got the transactions back , but they are not assigned to my accounts , i have lost data in accounts for easier to understand, can you tell us your address A? so we can check on explorerex: i used send from from one of my account A , and now account A is not showing the transaction , if i check for gettransaction it is showing transaction is not assigned to any account it could be that you're using unspent of unconfirmed tx in your recent tx and then when you zap, you removed both txs from your local mempool Quote if i check for gettransaction it is showing transaction is not assigned to any account I don't get this part. can you just tell us the actual txid and/or what exactly you mean by thatwhen you said account, do you mean address? Title: Re: Lost Bitcoin Transaction History after zapwallettxes help! Post by: nichol@s12josE on January 02, 2018, 05:35:51 AM i have tried rescanning it 3 to 4 times , i have got the transactions back , but they are not assigned to my accounts , i have lost data in accounts for easier to understand, can you tell us your address A? so we can check on explorerex: i used send from from one of my account A , and now account A is not showing the transaction , if i check for gettransaction it is showing transaction is not assigned to any account it could be that you're using unspent of unconfirmed tx in your recent tx and then when you zap, you removed both txs from your local mempool Quote if i check for gettransaction it is showing transaction is not assigned to any account I don't get this part. can you just tell us the actual txid and/or what exactly you mean by thatwhen you said account, do you mean address? like i sent a transaction from my account namely "melting" and check the gettransaction after zap i used to get "" in account. instead of "melting". Title: Re: Lost Bitcoin Transaction History after zapwallettxes help! Post by: HCP on January 02, 2018, 07:04:44 PM Those accounts are not recorded on the blockchain, they are local to your wallet. Unfortunately, using zapwallettxes removes all the transaction data from your wallet file (including what "account" the transaction was assigned to)...
There is no way to recover this information unless you have a backup of the wallet file from before you ran zapwallettxes. |