Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: DavidZ on November 22, 2013, 06:40:32 PM



Title: Bitcoin-qt not resyncing...
Post by: DavidZ on November 22, 2013, 06:40:32 PM
Hi,

My bitcoin-qt wallet unfortunately is not resyncing any more. It is now 39 hours behind. I am getting a warning message which says "Warning: displayed transactions may not be correct! You may need to upgrade or other nodes may need to upgrade." I'm running v0.8.5-beta under debian linux wheezy/gnome. How can I get it to resync? At least I still can transfer out bitcoins.

Thanks,

David


Title: Re: Bitcoin-qt not resyncing...
Post by: zvs on November 22, 2013, 07:20:26 PM
so what does debug.log say


Title: Re: Bitcoin-qt not resyncing...
Post by: DavidZ on November 22, 2013, 08:11:10 PM
I'd post debug.log here but I'm not sure if that would be a safe thing to do. Anything I should look for in particular?


Title: Re: Bitcoin-qt not resyncing...
Post by: DavidZ on November 22, 2013, 08:21:21 PM
I have been getting errors such as these:

ERROR: CTxMemPool::accept() : nonstandard transaction type
socket send error 104
socket recv error 104
ERROR: CheckInputs() : tried to spend coinbase at depth 48
ERROR: CTxMemPool::accept() : ConnectInputs failed e2283dad643db8e213b9dcfce15026d453676d6d3c3908975cf06694b6523749


Title: Re: Bitcoin-qt not resyncing...
Post by: gmaxwell on November 22, 2013, 08:51:57 PM
I have been getting errors such as these:
those aren't relevant. Look for "Invalid".


Title: Re: Bitcoin-qt not resyncing...
Post by: DavidZ on November 22, 2013, 08:54:16 PM
InvalidChainFound: invalid block=00000000000000044643662b40a67ede81a25f5a2e4c2c3acac41071e4867225  height=270931  log2_work=74.122041  date=2013-11-22 12:50:53
InvalidChainFound:  current best=00000000000000018882853215961bee7a089793b1da929ab9f052ce82a0bbfa  height=270702  log2_work=74.079344  date=2013-11-21 03:21:09
InvalidChainFound: Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade.
ProcessBlock: ACCEPTED


Title: Re: Bitcoin-qt not resyncing...
Post by: theymos on November 22, 2013, 09:39:44 PM
Your block database is probably corrupted. Shut down Bitcoin. Go to the data directory (https://en.bitcoin.it/wiki/Data_directory) and move the chainstate and blocks directories somewhere else. (Keep them for a while in case the devs are interested in looking at them.) Then start Bitcoin, and it'll resync. You could also try deleting just the chainstate directory for a faster resync, but this might not actually fix it.

FYI: My block database was also corrupted recently with unmodified (but self-built) 0.8.5 on Gentoo. I wonder if a recent block/tx triggered this on certain systems.


Title: Re: Bitcoin-qt not resyncing...
Post by: DavidZ on November 25, 2013, 10:09:20 AM
I moved out chainstate and blocks directories. Bitcoin-qt has now completely resynced.

Thanks.