Bitcoin Forum
May 10, 2024, 08:23:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Lost Bitcoin Transaction History after zapwallettxes help!  (Read 203 times)
nichol@s12josE (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
January 01, 2018, 10:12:54 AM
 #1

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?
1715372623
Hero Member
*
Offline Offline

Posts: 1715372623

View Profile Personal Message (Offline)

Ignore
1715372623
Reply with quote  #2

1715372623
Report to moderator
1715372623
Hero Member
*
Offline Offline

Posts: 1715372623

View Profile Personal Message (Offline)

Ignore
1715372623
Reply with quote  #2

1715372623
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715372623
Hero Member
*
Offline Offline

Posts: 1715372623

View Profile Personal Message (Offline)

Ignore
1715372623
Reply with quote  #2

1715372623
Report to moderator
1715372623
Hero Member
*
Offline Offline

Posts: 1715372623

View Profile Personal Message (Offline)

Ignore
1715372623
Reply with quote  #2

1715372623
Report to moderator
1715372623
Hero Member
*
Offline Offline

Posts: 1715372623

View Profile Personal Message (Offline)

Ignore
1715372623
Reply with quote  #2

1715372623
Report to moderator
xdrpx
Hero Member
*****
Offline Offline

Activity: 616
Merit: 603


View Profile
January 01, 2018, 10:31:18 AM
 #2

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.
nichol@s12josE (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
January 01, 2018, 10:36:05 AM
 #3

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
xdrpx
Hero Member
*****
Offline Offline

Activity: 616
Merit: 603


View Profile
January 01, 2018, 11:51:54 AM
 #4

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.
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
January 01, 2018, 04:14:12 PM
 #5

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?

nichol@s12josE (OP)
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
January 02, 2018, 05:35:51 AM
 #6

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".
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
January 02, 2018, 07:04:44 PM
 #7

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!