Bitcoin Forum
May 08, 2024, 02:27:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: No response to version packet on testnet  (Read 1041 times)
brian_armstrong (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


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!!
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715178473
Hero Member
*
Offline Offline

Posts: 1715178473

View Profile Personal Message (Offline)

Ignore
1715178473
Reply with quote  #2

1715178473
Report to moderator
1715178473
Hero Member
*
Offline Offline

Posts: 1715178473

View Profile Personal Message (Offline)

Ignore
1715178473
Reply with quote  #2

1715178473
Report to moderator
genjix
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1076


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: 2576
Merit: 1186



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 (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


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:  

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