Bitcoin Forum
April 30, 2024, 03:03:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / sending getblocks message but not getting back the expected inv on: January 14, 2014, 12:48:08 AM
Similar question to this one https://bitcointalk.org/index.php?topic=54892.0

I am trying to download the blockchain from the beginning (genesis). I have hardcoded the genesis block in my client program.

I have most of the protocol message are working. I connect using the version and verack messages. I can send a ping and get back the correct pong.

But when I send a getblocks message, I don't get back any inv with a MSG_BLOCK in it. I periodically receive inv messages, but they only contain a few MSG_TX's.

These are the raw bytes that I send as my getblock message.

Code:
f9beb4d9676574626c6f636b73000000450000008634d5ae0100000001000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f0000000000000000000000000000000000000000000000000000000000000000

I also tried it with the genesis block hash reversed, without any success.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!