Mining lifecycle and candidate blocks
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.
Loading lesson visuals...
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.
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 every idea above to open it.
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.
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.