Academy School · Chapter 4 of 14
Bitcoin Ecosystem & Scaling
How Bitcoin’s ecosystem extends beyond base-layer payments.
Chapter locked
Complete the previous chapter first.
Academy School builds each concept on the one before it. Return to the course overview to continue from your current chapter.
Return to Academy SchoolSegWit and Taproot
Both upgrades were soft forks: rule changes that older nodes still accept. In short, SegWit reduced the effective size of transactions and fixed a long-standing flaw, and Taproot extended what scripts can express while making complex spends look simpler on the chain.
Segregated Witness (BIP 141) activated on 24 August 2017 at block 481,824. It moved signatures, the "witness", out of the data used to calculate a transaction's ID. Before that, a third party could alter a signature's encoding and change the ID of an unconfirmed transaction without invalidating it, which broke any protocol that built on unconfirmed transactions. Lightning needed that fixed.
SegWit also replaced the 1 MB block size limit with a limit of 4,000,000 weight units. Each non-witness byte counts as 4 units and each witness byte as 1. Fees are quoted per virtual byte (vB), which is weight divided by 4.
Worked example: the same payment, two formats
A payment with one input and two outputs takes about 226 bytes in the original (legacy) format, all of it non-witness. In native SegWit format it has about 113 non-witness bytes and 110 witness bytes, so its weight is 113 × 4 + 110 = 562 units, or 140.5 vB. At a fee rate of 10 satoshis per vB, that is 2,260 satoshis against about 1,405, roughly 38 percent less.
Taproot (BIPs 340, 341 and 342) activated on 14 November 2021 at block 709,632. It added Schnorr signatures and a new output type with two ways to spend. On the key path, several people who combine their keys can sign once, and the spend looks like any single-signature payment. On the script path, alternative conditions sit in a tree and only the branch actually used is revealed. The Taproot and Schnorr entry goes further.
Fees are charged per virtual byte and witness data counts at a quarter of the rate, so spending from a native SegWit or Taproot address usually costs less than a legacy address of the same shape.
Lightning Network Basics
Lightning, described by Joseph Poon and Thaddeus Dryja in 2016 and specified in documents called BOLTs, is a Layer 2 system built for fast, frequent payments. Two parties lock bitcoin in a 2-of-2 multisignature output on the main chain, then update who owns how much by exchanging signed transactions that they could broadcast but normally do not.
Worked example: one channel, many payments
- Alice opens a channel to Bob with 500,000 satoshis. That is one onchain transaction, with a normal fee and a wait for confirmation.
- She pays Bob 20,000 satoshis. Both sign a new commitment transaction splitting the channel 480,000 to Alice and 20,000 to Bob, and Alice hands over a key that revokes the old state. This takes seconds and touches no block.
- After thirty more payments in either direction, either party can close the channel. The final balances settle in one more onchain transaction: two onchain transactions in total, however many payments happened.
Payments can also route through other people's channels. If Alice pays Carol through Bob, a hash time-locked contract lets Bob claim his incoming payment only by completing the outgoing one. Each forwarding node charges a base fee plus a proportional fee. If Bob advertises 1 satoshi plus 200 parts per million, forwarding 100,000 satoshis costs 1 + 100,000 × 200 ÷ 1,000,000 = 21 satoshis.
The trade-offs are concrete. Large payments can fail when some channel on the route lacks liquidity. If your peer broadcasts an old state that paid them more, you must publish the penalty transaction before a timelock expires (often 144 blocks, about a day), so your node or a watchtower service must be watching. Custodial Lightning apps remove that burden by holding your funds, which reintroduces a custodian. The Lightning Network entry covers channel liquidity.
Lightning suits fast, frequent payments that are small relative to channel balances. Opening and closing cost onchain fees, and someone must watch for old-state broadcasts within the timelock.
Ordinals, Runes, and Assets
Ordinals and Runes are new ways to express assets and data on Bitcoin. Neither changed Bitcoin's consensus rules. Both are conventions: software called an indexer reads ordinary valid transactions and interprets them by an extra set of rules that Bitcoin nodes know nothing about.
Ordinal theory, launched by Casey Rodarmor in January 2023, numbers every satoshi in the order it was mined and follows each one through transactions. Inscriptions attach content, such as an image or text, to a satoshi by placing it in the witness of a Taproot script-path spend. Because witness bytes count as one weight unit each, a block can hold close to 4 MB of such data. On 1 February 2023 the Luxor pool mined block 774,628, about 3.96 MB and mostly a single inscribed image, the largest Bitcoin block to that date.
Runes is a fungible token protocol, also by Rodarmor, that went live at block 840,000 on 20 April 2024, the fourth halving block. A rune transaction carries a message called a runestone in an output beginning with OP_RETURN followed by OP_13, and the indexer assigns token balances to that transaction's outputs. The launch helped push fees in that single block to about 37.6 BTC.
Data use remains contested. Bitcoin Core 30.0, released on 12 October 2025, raised its default relay limit for OP_RETURN data from 83 bytes to 100,000 and allowed several such outputs per transaction. Supporters called it neutral policy; critics called it an invitation to spam, and some node operators switched to other software in protest.
The practical risk is simple: an inscription or rune balance sits on a specific unspent output. A wallet that does not track it can spend that output as an ordinary payment or fee, and the asset goes with it.
A Bitcoin token or inscription is an indexer's reading of ordinary transactions. Before moving one, confirm your wallet tracks the exact output that holds it.
How to Evaluate Bitcoin Expansions
The core question for any extension is whether it preserves Bitcoin's core settlement principles: your coins secured by proof of work and your own keys, with no party able to stop you spending them. Marketing labels such as "Bitcoin Layer 2" or "backed by BTC" do not answer it. Ask, in order:
- What do you actually hold? Bitcoin in an output you control, a claim on a custodian, or a token on another chain.
- Who can block or redirect your withdrawal, and how many must agree? A custodian is one party. A federation might need 11 of 15 signers. In a Lightning channel nobody can stop you closing it onchain.
- Can you exit to the main chain on your own? If so, how long does it take, and what happens if the operator disappears?
- What software, besides Bitcoin itself, must be bug-free?
Case study: the Liquid peg-out, September 2026
Liquid is a federated sidechain. Bitcoin sent to it is locked under an 11-of-15 multisignature held by member firms, and an equal amount of L-BTC is issued on the sidechain. On 6 September 2026 a bug in Elements, the software Liquid runs on, let about 4,000 L-BTC exist without matching locked bitcoin. Following that software, the federation signed a peg-out of about 3,996 BTC. No signing key was stolen. The recipients, calling themselves white hats, sent most of it back the next day, and the sidechain was paused while the bug was investigated.
The lesson is that a peg is only as strong as its signers and the code they run. Compare that with a Lightning channel, whose funds stay in a Bitcoin output you can close yourself. The cross-chain bridges entry applies the same test elsewhere, and the Bitcoin ecosystem guide includes a transfer checklist.
Write down who can block your withdrawal and what software must work. Any answer beyond Bitcoin's own rules and your own keys is added trust, and the amount you place there should reflect it.
Further reading
On Ledgers Academy
- Bitcoin ecosystem: Lightning, Ordinals, Runes and Layer 2s
- Taproot and Schnorr signatures
- Lightning Network
- UTXO: the outputs that inscriptions and runes sit on