Bitcoin Forum
May 06, 2024, 05:30:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-qt 0.8.1 going out of sync repeatedly on testnet  (Read 1519 times)
matt.collier (OP)
Member
**
Offline Offline

Activity: 105
Merit: 10



View Profile
March 31, 2013, 08:32:06 PM
 #1

Hello All,

Just installed 0.8.1 on a Windows 7 64bit.  I'm running on testnet by adding the -testnet command line parameter.

The client synced initially, then I noticed some time later that it was out of sync and was needing to download approximately 38K blocks.

The first time I was going to write it off as a fluke, but it has happened several times in the past few hours.

What information can I provide to troubleshoot further?
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714973402
Hero Member
*
Offline Offline

Posts: 1714973402

View Profile Personal Message (Offline)

Ignore
1714973402
Reply with quote  #2

1714973402
Report to moderator
1714973402
Hero Member
*
Offline Offline

Posts: 1714973402

View Profile Personal Message (Offline)

Ignore
1714973402
Reply with quote  #2

1714973402
Report to moderator
inglian
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
April 02, 2013, 02:00:22 AM
 #2

I've got something like this happening, as well, where the problem seem to be a bogus block height. Twice now, letting 0.8.1 (Win7-64) run overnight on testnet, I come back to see the display showing ~80,000 blocks remaining. Debug shows the valid current testnet block height loaded, out of estimated total blocks 140,700 (!!). 

Here is a log snippet just prior to shutting down, which appears to show the bogus block height conversation:
Code:
received block 000000006d7ee37ba38b4c4226b5b635bd06faedda5273eac6e03ee647ff7a21
Committing 29 changed transactions to coin database...
SetBestChain: new best=000000006d7ee37ba38b4c4226b5b635bd06faedda5273eac6e03ee647ff7a21  height=63403  work=6294868716572339  tx=135252  date=2013-04-02 01:09:46
ProcessBlock: ACCEPTED
getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500
getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500
getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500
getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500
getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500
Flushing wallet.dat
Flushed wallet.dat 103ms
getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500
received getdata for: block 000000006d7ee37ba38b4c4226b5b635bd06faedda5273eac6e03ee647ff7a21
Flushed 11237 addresses to peers.dat  90ms
ResendWalletTransactions()
Flushed 11237 addresses to peers.dat  68ms
Flushed 11237 addresses to peers.dat  90ms
accepted connection 75.119.251.161:46145
send version message: version 70001, blocks=63403, us=96.241.62.47:18333, them=75.119.251.161:46145, peer=75.119.251.161:46145
receive version message: version 60000, blocks=140700, us=96.241.62.47:18333, them=0.0.0.0:0, peer=75.119.251.161:46145
socket closed
disconnecting node 75.119.251.161:46145

About 20 minutes after restarting, it's imagining there are about 20K blocks over actual testnet height, again.
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
April 02, 2013, 02:53:36 AM
Last edit: April 02, 2013, 03:07:54 AM by deepceleron
 #3

Someone is sending your node fake info or is testing out how much they can fork testnet with their ASIC? Are you using a release build?

The current block count is 63414 and nothing strange is going on with the network.
http://blockexplorer.com/testnet/q/getblockcount

The number of peers you connect to may affect the answer, the blocks remaining is from a majority of other nodes, so one bad actor can do some tomfoolery when there's only eight nodes and two miners.

Actually, I see a lot of that getblocks -1 to .. in my logs also, but I was never showing out of sync or wrong height. My found blocks are followed by lots of legit "received getdata"; the weird message shows up only when I wasn't 51%ing the network.
inglian
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
April 02, 2013, 10:26:53 PM
 #4

Yes, I am using the release 0.8.1 Win7 build. Looking in the debug log, there are two testnet IP addresses consistently claiming "blocks=140700".

This is under discussion at https://github.com/bitcoin/bitcoin/issues/2398 Final comment from gmaxwell is, "...its due to some testing phantomcircuit is doing."
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!