Bitcoin Forum
December 08, 2016, 10:13:14 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: No response to version packet on testnet  (Read 888 times)
brian_armstrong
Newbie
*
Offline Offline

Activity: 29


View Profile
February 20, 2012, 09:08:47 AM
 #1

Hi,

I've run into a strange problem when I try to connect to the official client on testnet (I'm doing some testing locally).

My code sends the version packet, the client updates to show one connection has been made, but it doesn't seem to send any version packet (or anything else) in response.  So the handshake just ends there.

This was all working normally yesterday and I can't think of anything I've changed since then.

Has anyone ever encountered this?  I don't have any port conflicts I can see.  I thought maybe the connection was banned (for misbehaving peer) so I set bantime=0 but this didn't change anything.  It hasn't reached the max number of connections.  Under what other conditions would the official client not send a version packet in response on testnet?

Really stuck here, thanks!!
1481191994
Hero Member
*
Offline Offline

Posts: 1481191994

View Profile Personal Message (Offline)

Ignore
1481191994
Reply with quote  #2

1481191994
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
genjix
Legendary
*
expert
Offline Offline

Activity: 1232


View Profile
February 20, 2012, 09:31:31 AM
 #2

Hah! I just woke up confused as hell why my code isn't working. Thanks for letting me know why.

bitcoin.org/feb20

Guess I shouldn't have ignored all those bazillions of alerts yesterday.

tl;dr version packets now have a checksum.
Luke-Jr
Legendary
*
expert
Offline Offline

Activity: 2086



View Profile
February 20, 2012, 04:24:18 PM
 #3

The funny thing is, since this was announced 2 years ago, I happily woke up to my node implementation working for the first time ever (I didn't bother wasting time on hacks that were going away in less than 20 days)

brian_armstrong
Newbie
*
Offline Offline

Activity: 29


View Profile
February 20, 2012, 08:01:17 PM
 #4

Yep this was it!!!  bitcoin.org/feb20

Adding the checksum fixed it.  Thank you so much!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!