Bitcoin Forum
October 13, 2024, 08:16:02 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockcypher and genesis block - something wrong?  (Read 92 times)
pseudo_geek (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 10


View Profile
February 22, 2018, 01:42:38 PM
 #1

Shouldn't the height of genesis block be zero?
If I type 0 on Blockcypher, it will return a error:
Code:
Server Error (500)
It seems that Blockcypher put the genesis block on height 1, thus makes the true block#1 inaccesible (unless specify sha256 directly: 00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048).
AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
February 22, 2018, 02:07:23 PM
 #2

Shouldn't the height of genesis block be zero?
If I type 0 on Blockcypher, it will return a error:
Code:
Server Error (500)
It seems that Blockcypher put the genesis block on height 1, thus makes the true block#1 inaccesible (unless specify sha256 directly: 00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048).

It is usually interpreted as block zero yes. It's just a matter of how these sites index/display it. It looks like Blockcypher is indeed reffering to both the Genesis and the normal first block as Block #1, which indeed looks a bit weird. ( And i doubt that it is done intentionally...)

A better way would indeed be to display it like this,

Block #0 https://blockchain.info/block-index/14849/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f

vs

Block #1 https://blockchain.info/block-index/14850/00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048


Also,


Quote
Modern versions of Bitcoin number it as block 0, though very early versions counted it as block 1
https://en.bitcoin.it/wiki/Genesis_block

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!