Author

Topic: Lost Bitcoin Transaction History after zapwallettxes help! (Read 203 times)

HCP
legendary
Activity: 2086
Merit: 4314
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.
newbie
Activity: 47
Merit: 0
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
for easier to understand, can you tell us your address A? so we can check on explorer
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 that
when 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".
hero member
Activity: 1232
Merit: 738
Mixing reinvented for your privacy | chipmixer.com
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
for easier to understand, can you tell us your address A? so we can check on explorer
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 that
when you said account, do you mean address?
hero member
Activity: 616
Merit: 603
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"

DEPRECATED. Sets the account associated with the given address.

Arguments:
1. "address"         (string, required) The bitcoin address to be associated with an account.
2. "account"         (string, required) The account to assign the address to.

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.
newbie
Activity: 47
Merit: 0
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
hero member
Activity: 616
Merit: 603
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.
newbie
Activity: 47
Merit: 0
Hello,

       I have an unconfirmed transaction with very low fee and i thought of double spending that transaction, i have executed
Code:
-zapwallettxes
instead of zapwallettxes=2. After this command i have lost all the send and receive transaction history assigned to my accounts. I have tried rescan and reindexing, still nothing in my account transactions.

Can anyone help me to recover the lost transaction history?
Jump to: