Skip to main content

Block | Bitcoin Glossary | Mapping Bitcoin

Block

Protocolo

A data structure containing a set of validated transactions, a reference to the previous block, and a proof-of-work solution. Blocks are appended to the blockchain approximately every 10 minutes and form the permanent, ordered record of all Bitcoin transactions.

Overview

A block is the fundamental unit of Bitcoin's blockchain. Each block bundles together a set of validated transactions, links to the previous block through its hash, and contains a proof-of-work solution that demonstrates the computational effort expended to create it. Once accepted by the network, a block becomes a permanent part of the transaction history.

Block Structure

┌─────────────────────────────────────────┐
│              Block Header (80 bytes)     │
│  ┌─────────────────────────────────────┐ │
│  │ Version            (4 bytes)        │ │
│  │ Previous Block Hash (32 bytes)      │ │
│  │ Merkle Root         (32 bytes)      │ │
│  │ Timestamp           (4 bytes)       │ │
│  │ Difficulty Target   (4 bytes)       │ │
│  │ Nonce               (4 bytes)       │ │
│  └─────────────────────────────────────┘ │
│                                          │
│  Transaction Counter (variable)          │
│                                          │
│  Transactions                            │
│  ┌──────────────────────┐                │
│  │ Coinbase Transaction │ (always first) │
│  │ TX 1                 │                │
│  │ TX 2                 │                │
│  │ ...                  │                │
│  │ TX n                 │                │
│  └──────────────────────┘                │
└─────────────────────────────────────────┘

How Blocks Are Created

  1. Miners collect unconfirmed transactions from the mempool
  2. They construct a candidate block with a coinbase transaction
  3. They compute the Merkle root of all included transactions
  4. They repeatedly hash the block header with different nonce values
  5. When a hash below the difficulty target is found, the block is broadcast to the network
  6. Other nodes verify the block and append it to their copy of the blockchain

Key Properties

  • Ordered: Transactions within a block have a defined order, with the coinbase transaction always first
  • Immutable: Once buried under subsequent blocks, altering a block would require redoing the proof of work for it and all subsequent blocks
  • Size-limited: Blocks are constrained by a maximum weight of 4 million weight units, translating to roughly 1-4 MB depending on transaction composition