BITCOIN · READING THREAD

How Bitcoin records a payment.

Start with Bitcoin and satoshis, follow spendable transaction outputs, then connect proof of work and mining to the block subsidy halving.

A WORKED LESSON

Follow a Bitcoin payment through inputs, change and mining

A Bitcoin balance is a convenient total. Underneath it are spendable outputs from earlier transactions. Work through a fictional 8,000-satoshi payment to understand why a transaction can send money back to its own sender, why a fee is a difference between totals, and how mining relates to new issuance.

Start with the pieces you can spend

One bitcoin equals 100,000,000 satoshis. Bitcoin transaction amounts are accounted for in these integer units. Suppose Noor's wallet controls two unspent transaction outputs, or UTXOs: one worth 7,000 satoshis and one worth 5,000. The displayed balance is 12,000 satoshis, but neither output is a reusable account balance that can simply be reduced in place.

To use these outputs, the new transaction spends them and creates replacement outputs with new spending conditions. Spending an output uses the whole output. A change output directs the unused portion back to conditions controlled by Noor's wallet. That is why an explorer can show more than one output even when Noor intended to pay only one other person.

Account for the fee without guessing

Noor's fictional transaction uses both inputs, pays 8,000 satoshis to a recipient and creates 3,400 satoshis of change. Outputs total 11,400 satoshis. Inputs total 12,000. The remaining 600 satoshis are the transaction fee. They are not a third ordinary output labelled fee.

These numbers demonstrate accounting, not a fee recommendation. Transaction weight and the feerate influence the fee a wallet proposes; the amount being sent does not by itself determine it. The fee for a small payment can therefore be a large share of the payment. Wallet selection of inputs can also change the transaction's size.

Mining adds a block, not permission to ignore the rules

Mining combines transaction selection with a search for a block header that satisfies the proof-of-work target. Other nodes can check the result and independently reject invalid blocks. Finding proof of work cannot make Noor's already-spent output spendable again or make an unauthorized transaction valid.

A miner's block reward can include a newly issued subsidy and transaction fees. The halving schedule reduces the permitted subsidy after each 210,000-block interval on Bitcoin mainnet. It does not cut every transaction fee in half, halve existing wallet balances, or prescribe a market price. Block production is variable, so the height rule is more precise than a calendar countdown.

WORK IT THROUGH

Balance the transaction

Check both sides: 7,000 + 5,000 = 8,000 + 3,400 + 600. Noor's wallet controls 3,400 satoshis of change after this simplified transaction is accepted. The example omits unrelated wallet outputs and assumes both inputs were available to spend.

Balance the transaction
ItemSatoshisRole
Input A7,000Earlier UTXO being spent
Input B5,000Earlier UTXO being spent
Recipient output8,000New payment output
Change output3,400New output controlled by Noor
Fee600Input total minus output total

Check your understanding

Does the 3,400-satoshi change output mean Noor made a second purchase?

No. It can be the remainder returned to Noor's own spending conditions. An output list alone does not identify who owns every output or explain its business purpose. The wallet's transaction details supply useful additional context.

Check the primary sources

These references explain the rules behind the lesson. The examples above are fictional teaching scenarios written for this dictionary.

Bitcoin basics

Six words. One connected thread.

Start at the beginning, or pick up where you left off. Each definition leads to the next word in this thread.

Open your first word to start this thread.

Start this thread
  1. Bitcoin

    A peer-to-peer monetary network whose native asset is bitcoin, usually written as BTC.

  2. Satoshi

    One hundred millionth of a bitcoin, commonly shortened to sat.

  3. UTXO

    An unspent Bitcoin transaction output that a future transaction can consume.

  4. Proof of work

    A mechanism that requires computational work to qualify a candidate block for acceptance.

  5. Mining

    The process of building candidate blocks, searching for valid proof of work and publishing successful results.

  6. Halving

    Bitcoin’s scheduled halving of the block subsidy every 210,000 blocks.

Reading progress is saved in this browser only. Opening a word marks it as visited.

Explore all reading threads
PASS IT TO THE GROUP CHAT

Share a definition