BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveOrdinals

Old revision: Ordinal theory

archive: trace the lost-sats null outpoint

Ordinal theory is the satoshi-numbering convention associated with Casey Rodarmor's Ordinals project. It assigns ordinal numbers to sats in the order they are mined and uses a first-in-first-out model to track them through transaction inputs and outputs.

Assignment and transfer

The current Ordinal Numbers draft defines two connected rules. First, newly created sats receive serial numbers beginning at zero in the order they could be mined. Second, when a transaction spends outputs, the ordinal numbers carried by its inputs are assigned to its outputs first-in-first-out according to input order, output order and value. Ordinal Numbers draft — primary repository

Fees do not break the lineage. Sats left over after ordinary outputs are assigned are treated as fee sats. For ordinal assignment, the coinbase is modeled as if it had an implicit subsidy input followed by the fee sats from each transaction in block order. The miner's coinbase outputs then receive that combined sequence.

The draft also makes a subtle supply distinction: if a miner underclaims the available subsidy, later ordinal numbers do not shift downward. Numbering follows how many sats could have been mined under the subsidy schedule, not merely how many were actually claimed. Ordinal Numbers draft

A satpoint expresses the current location of a sat as an outpoint plus an offset within that output. This is a location identifier, not the ordinal number itself.

Lost sats are unclaimed coinbase value

Lost sats are the part of Ordinal theory's conceptual coinbase input that never fit into a real coinbase output because the miner claimed less than the full block reward available. They are not the same thing as sats merely paid as transaction fees.

Under the assignment rule, a block's conceptual coinbase input begins with that block's subsidy and then appends fee sats from ordinary transactions in block order. The coinbase's real outputs consume that sequence from the front. If the outputs sum to less than subsidy plus fees, the unassigned tail has no Bitcoin outpoint to inhabit. ord records those sats against a special null outpoint instead. Ordinal Numbers draft · Current indexer source

This makes a useful distinction. A sat spent as a fee can continue into the miner's coinbase and remain trackable if the miner claims it. A lost sat is value the miner did not claim at all. Because the subsidy is placed before fee sats in the conceptual input, an underclaim that is no larger than the block's fees removes sats from the fee tail first; a larger underclaim can also consume the tail of the subsidy range.

The surviving repository record shows this concept forming before Ordinals' January 2023 public mainnet opening. PR #1125, opened on 30 December 2022 and merged on 2 January 2023, added a LostSats statistic and moved fee-spent inscriptions to a null-outpoint satpoint when the corresponding reward was underclaimed. The following day, issue #1133 described the same null-outpoint model and called for tracking the cumulative lost-sat count. PR #1125, direct code and discussion record · Issue #1133, 31 December 2022

On 14 January 2023, PR #1227 generalized the bookkeeping from lost inscriptions to complete lost sat ranges, explicitly so the null outpoint could reveal which sats had been lost on every supported chain. It merged on 16 January. That is the clearest surviving boundary BOMB has found between an inscription edge case and a first-class sat-index concept. PR #1227, “Track lost sat ranges”

Bitcoin consensus supplies the underclaimed reward condition. The serial identity of the missing units, their ordering and the null-outpoint representation are Ordinal-theory and ord conventions. See Lost sats for the full lineage and evidence boundary.

Duplicate txids are inherited from Bitcoin

Bitcoin's historical main chain contains two pairs of coinbase transactions with duplicate transaction IDs: blocks 91,812/91,842 and 91,722/91,880. That is possible because a txid identifies serialized transaction contents, not a unique historical occurrence. Before BIP 34 required later coinbases to begin with their block height, independently mined coinbases could reproduce the same serialization. See BIP 30 for the consensus history.

The Ordinal Numbers draft therefore carries a special displacement rule. If a transaction is mined with the same txid as outputs currently present in Bitcoin's UTXO set, the newer outputs replace the older entries; sats in still-unspent outputs of the first occurrence are treated as destroyed. The draft names those two historical pairs explicitly. Ordinal Numbers draft — primary repository

This is not an Ordinals-only edge case. Bitcoin consensus decides which outpoints survive the duplicate; Ordinal theory has to preserve a deterministic sat-assignment history across that already-existing consensus scar. The rule is one of the clearest places where an application-layer identity system has to inherit an old implementation-era quirk from the chain beneath it.

Rarity is a derived convention

Ordinal rarity is layered on top of the numbering scheme. Rodarmor's 21 July 2022 public essay proposed labels based on Bitcoin's periodic structure:

  • uncommon — first sat of a block;
  • rare — first sat of a difficulty-adjustment period;
  • epic — first sat of a halving epoch;
  • legendary — first sat of a six-halving cycle;
  • mythic — first sat of the genesis block;
  • common — everything else.

Rodarmor, “Ordinal Theory”, 21 July 2022 · Current Ordinal Theory overview

Those labels are part of Ordinal culture and software, not Bitcoin consensus categories. The same is true of ordinal names, degree notation and the broader category of “exotic” sats.

Prehistory

Modern Ordinal theory has documented predecessors. In August 2012, Charlie Lee proposed deterministically selecting an individual satoshi and following it through later transactions for a Proof-of-Activity system. His forum post did not fully specify the input-to-output inheritance rule.

Two months later, jl2012 published a much closer serial-numbering scheme: sats were identified by block and offset, transferred by an ordered inheritance rule, and fee sats flowed into the coinbase. In the same discussion, casascius proposed numbering sats globally from zero across the subsidy schedule.

See Satoshi serial numbering for the primary-record reconstruction. The modern Ordinal Numbers draft itself cites jl2012's scheme as an independently invented variation. Ordinal Numbers draft

Why this page exists

The numbering theory, the inscription protocol, the ord software and the culture that grew around them are related but not identical things. The archive keeps separate pages so later history can change one without quietly rewriting the others.

Primary sources

Open research

Open question
Reconstruct every mainnet coinbase underclaim directly from block data, map each unclaimed value range through Ordinal theory, and compare the result with ord's null-outpoint ranges so the first lost sat and later cumulative total can be pinned without relying on indexer summaries.