Files
specification/protocol/p2p/block__header.md
T
Andrew Stone 739644595b Initial commit
2019-12-12 23:11:10 -05:00

5 lines
352 B
Markdown

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