Files
specification/protocol/p2p/block__header.md
T

5 lines
352 B
Markdown
Raw Normal View History

2019-12-12 23:11:10 -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