1

I have tried to restore my wallet by replacing wallet.dat with my file, but the issue is that Bitcoin Core started synchronizing from 8 years again. Can some one help me to avoid this because I frequently format my system. So, is there any way to avoid needing to repeat the synchronization?

I have tried -rescan too but it did not work. :( It shows my transaction history but does not show my balance for which I assume the sync needs to finish.

Murch
  • 71,155
  • 33
  • 180
  • 600
Rocky
  • 23
  • 2

1 Answers1

1

The only way to avoid a full resync is to make sure your backup contains the blockchain as it was when you made the backup; not just your wallet.

Then the core should only need to update with any more recent transactions.

Here is a good article on the subject: http://bitzuma.com/posts/moving-the-bitcoin-core-data-directory/

And here it is from the Wiki: https://en.bitcoin.it/wiki/Data_directory

SDsolar
  • 160
  • 1
  • 1
  • 10
  • by the way which folder i need to backup is it blocks or chainstate? – Rocky Jan 21 '17 at 12:52
  • It depends on your version of Windows; here is a good article on the subject: http://bitzuma.com/posts/moving-the-bitcoin-core-data-directory/ – SDsolar Jan 21 '17 at 18:09
  • Here: https://en.bitcoin.it/wiki/Data_directory – SDsolar Jan 21 '17 at 18:11
  • You need both the blocks and the chainstate. They do not need to be perfectly synchronized however - the blocks data may be newer than the chainstate – Pieter Wuille Jan 22 '17 at 16:31