3

Is the current number of confirmations visible somewhere in the raw block output created by blockexplorer or blockhain.info?

Is this information available in the raw stream or is the number of confirmations always "live" calculated by counting the confirmations and not "saved" in the raw stream?

1 Answer 1

7

The number of confirmations is (height of most recent block - height of the block containing the transaction + 1). The contents of the specific block containing the transaction are fixed, while the number of confirmations keeps increasing, so the number of confirmations cannot be in the raw block data.

4
  • 1
    The genesis block had a height of 0. The next block had a height of 1. And so on. It's the "block number". There can be multiple blocks with the same number, such as when two miners solve a block at around the same time. Aug 23, 2012 at 19:17
  • @ChrisMoore: What's the context of this comment? Aug 24, 2012 at 7:45
  • @MeniRosenfeld I asked "what is height of the block". I found out the correct answer a few minutes later and deleted my question. Chris Moore probably answered at the same time as I delete my question.
    – curiosity
    Aug 24, 2012 at 15:45
  • I was answering a comment which asked "what is the height of a block"? The comment was later deleted. Aug 24, 2012 at 22:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.