Bitcoin Forum
June 01, 2024, 02:39:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: How do you download a specific block number ? on: January 07, 2015, 05:15:56 PM
Without a local copy your only option is to use getdata since I doubt that an online block explorer would let you download 10000 blocks.


How do you access the raw protocol? I'm not familiar with this.
2  Bitcoin / Development & Technical Discussion / Re: How do you download a specific block number ? on: January 07, 2015, 12:07:17 PM
Yes, by their hashes using getdata in the raw protocol or getblock in the client.


I tried getblock "hash", but it seems like I can only get block that I already have in my disk, I want to get this function working without downloading the whole blockchain. Is there any way to connect to some kind of server and use this method on this server ?

TL;DR, I want to compile my own bootstrap.dat file that contain only blocks from a specific block number for example only blocks between 130000 and 140000, all this without having the blockchain in my hard drive.
3  Bitcoin / Development & Technical Discussion / How do you download a specific block number ? on: January 06, 2015, 11:52:06 PM
I want to know if there is a way to download specific block numbers without download the whole blockchain.

Edit: I know that I can use bitcoin client with getblock "hash" function, but this require that the block with that "hash" to be in the hard drive, which I don't. So I'm looking for a similar function of getblock "hash" which doesn't require block to be in the hard drive, but instead it download it from some server or other peers.
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!