Files
specification/protocol/p2p/block__header.md
T

5 lines
352 B
Markdown
Raw Normal View History

2020-11-04 13:23:02 -05:00
The block header appears in several P2P messages. It's serialization format is as follows:
| 4 bytes | 32 bytes | 32 bytes | 4 bytes | 4 bytes | 4 bytes
|----|---------------|-----------|------------|---------|------
| version | hash of previous block | hash of merkle root | block time in epoch seconds | difficulty in "bits" format | nonce