Reviewed Aug 2026
DE
BA-08 · LESSON 10

Mining lifecycle and candidate blocks

KEY DEFINITIONS

Terms used in this lesson

Coinbase transaction
The special first transaction in a Bitcoin block, which claims permitted subsidy and fees and has no ordinary prior-output input.
Witness
Signatures, scripts, or other data supplied to satisfy a Bitcoin output’s spending condition.
Proof-of-work target
The maximum header-hash value accepted for a block; lowering it makes valid hashes harder to find.
Hash rate
The number of mining hash attempts performed per second.
Block subsidy
New bitcoin that consensus permits a block's coinbase transaction to create at a particular height.
Transaction ID
The identifier produced by hashing a Bitcoin transaction’s non-witness serialization.

Follow mempool selection, ancestor packages, template construction, coinbase and witness commitments, target search, broadcast, and independent full-node validation.

45 min Difficulty 3/5 Not started

Loading lesson visuals...

01

Learn the idea

A mining lifecycle begins with a node's local transaction candidates and ends only when independently verifying nodes accept the published block. A miner chooses economically and technically valid packages, constructs coinbase and commitments, searches header variations below the target, broadcasts the result, and learns success from network acceptance rather than from hash rate alone.

GUIDED EXPLANATION1/5 ideas inspected
1

Select transaction packages

Evaluate fee rate across ancestors and descendants, dependencies, conflicts, weight, sigops, finality, and local block-template policy. Parents must appear before children.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionMiners simply hash the list of mempool transactions until one becomes a block.

Miners build a structured candidate with coinbase, ordered transactions, commitments, target, and an 80-byte header, then vary header-linked data while nodes enforce the result.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.