Definition
A block template is the complete block candidate that a miner works on. It contains the block header fields and a set of selected transactions from the mempool. In pooled mining with Stratum v1, the pool constructs the template and sends it to miners. In solo mining or Stratum v2, miners can construct their own templates.
Template construction involves selecting transactions (usually by highest fee rate), computing the Merkle root, and setting the appropriate header fields. The ability to construct templates is important for decentralization because it determines which transactions get included in blocks.
In Simple Terms
A candidate block that miners hash. Contains selected transactions and metadata ready for mining.
Block Template is a term used in Bitcoin mining related to network & protocol.
Also known as: Block candidate, Work unit.
A block template is the complete block candidate that a miner works on. It contains the block header fields and a set of selected transactions from the mempool. In pooled mining with Stratum v1, the pool constructs the template and sends it to miners. In solo mining or Stratum v2, miners can construct their own templates.
Template construction involves selecting transactions (usually by highest fee rate), computing the Merkle root, and setting the appropriate header fields. The ability to construct templates is important for decentralization because it determines which transactions get included in blocks.
Understanding block template is important for Bitcoin miners because it directly impacts mining operations, hardware selection, or profitability calculations. Whether you are a home miner running a Bitaxe or operating a larger ASIC setup, this concept helps inform better mining decisions.
Related terms: Stratum Protocol, Mempool, Merkle Root, Mining Pool.
