Questions tagged [block-header]

The block header is a portion of each block in the block chain that identifies the basic parameters of that particular block such as the block version, the time it was generated, the hash of the previous block, and the hash of the transactions in that block.

135 questions
4
votes
1 answer

Bitcoin mining: block structure

please note I have made this question previously (link) and I was indicated to visit here. I am writing a program using GoLang to mine bitcoins. It's part of my college conclusion project and likely won't be used to mine bitcoins since it's not…
G Oliveira
  • 41
  • 2
1
vote
1 answer

Significance of the "hash" field reported by the 'bitcoin-cli getblock' command

It is stated that the header of a block does not contain a 'hash' field ( see https://en.bitcoin.it/wiki/Block_hashing_algorithm or Antonopolous' Mastering Bitcoin 2nd Ed. ) This makes sense since inlcuding such a field would be…
darbehdar
  • 115
  • 3
1
vote
1 answer

What should be less than the target?

When I go to BlockExplorer and observe the hash of block 514441's header I see it to be: 0000000000000000004ec916884d8b2cd3dc0e80ab199cc23e528e7dc10fafc6 However when I obtain the header of block 514441…
MSJ
  • 11
  • 1
0
votes
1 answer

How to generate a block header?

good afternoon I set myself a task to understand the work of the miner, but as you understand it is difficult for a beginner. Constantly there are questions. Without conditionally, I turn to Google search and find the answers but not always. Guys…
0
votes
0 answers

What are all the consensus rules for the block version value?

I am interested in what are the all consensus rules for block version number in a block header? Found some answer here. Andrew Chow said that it can be whatever value we want except some specific values. What are these values? Pieter Wuille in the…
Cosmos
  • 199
  • 7
0
votes
2 answers

A query regarding Bitcoin Header Format

I am new to Bitcoins and still learning thus please bear with me. As I read Bitcoin Block header (on which the Block Hash is computed) is supposed to be: hash - 32 Bytes ver - 4 Bytes prev_block - 32 Bytes mrkl_root - 32 Bytes time - 4…
J.Doe
  • 127
  • 5
0
votes
1 answer

How to get the list of blockheader

I know that i can use getheader 'hash' from bitcoin core, but i can't use it for all blocks, it's time consuming. Is there a site where i can find all bitcoin blockheader? Like a blockchain site but shows the blockheader? Help is appreciated, thank…
Hamita
  • 174
  • 10