RoadmapsProjects
Sign in./start

Learn

RoadmapsProjects

Contribute

DiscoverIssues

Account

Sign in./start-building

Become an Open Source Builder. Learn. Build. Contribute.

Learn

RoadmapsProjectsStart Building

Contribute

DiscoverIssues

Account

Sign inDashboardSettings

Legal

PrivacyTerms

© 2026 Pull // all rights reserved

PrivacyTerms

lesson // lightning

BOLTs & Spec Landscape

Navigate the BOLT specifications and how implementations stay interoperable.

intermediate4 days

Public lesson — sign in to track progress on this roadmap.

./sign-in

On this page

Learning objectives

  • Identify what BOLTs are and why they exist
  • Map major BOLT numbers to features you will implement
  • Know where to follow spec discussions

study // plan

Lessons are primers. Depth comes from required reading, interactive labs, reflection, and a hands-on check with evidence — the BOSS study pattern.

Research on Bitcoin Search
BOLTLightning Network

Required reading

  • boltLightning BOLTs

Reflection prompts

  1. Explain BOLTs & Spec Landscape to a teammate without jargon — what problem does it solve?
  2. What would break in production if you misunderstood BOLTs & Spec Landscape?
  3. Which BOLT (or implementation doc) is the source of truth for this topic, and what did you verify there?

Lab // Polar check

After reading, run one hands-on check related to BOLTs & Spec Landscape. Prefer local regtest or Polar over mainnet.

evidence required

  • ·Command output or screenshot from your local lab
  • ·One sentence on what you observed vs expected
  • ·Link to the required reading section you used

BOLTs (Basis of Lightning Technology) are the interoperability specs for Lightning. LND, Core Lightning, and LDK aim to speak the same protocol so heterogeneous nodes can route.

Why this matters

Without shared specs, every implementation would be an island. Builders reading BOLTs can debug wire mismatches and evaluate new features (offers, splicing) before they are universal.

Analogy

BOLTs are the electrical code for Lightning. Different manufacturers (LND/CLN/LDK) can ship distinct products, but plugs must still fit.

Map of essentials

BOLTFocus
1Peer protocol foundation
2Channel management / HTLCs
3Transactions
4Onion routing
7Gossip
11Invoices
12Offers (evolving)

Loading diagram…

Multiple implementations converge on BOLTs for network compatibility.

Read with a question

Do not read BOLTs cover-to-cover first. Open the BOLT that matches your bug (invoice decode, channel open, onion) and keep Mastering Lightning nearby for narrative.

Common mistakes

  • Assuming a feature in one implementation is already a ratified BOLT everywhere
  • Treating blog posts as authoritative over the spec text
  • Ignoring feature bits / negotiations between peers

Worked mental model

Re-read the diagrams in this lesson once out loud in plain language. If you cannot explain the flow to a friend without jargon, pause and revisit Mastering Bitcoin / Mastering Lightning chapters linked in Resources. Chapter references are intentional, not decorative.

Hands-on habit

Every protocol idea should be paired with one local experiment:

  1. Reproduce the happy path on regtest (or Polar for Lightning)
  2. Break it on purpose (wrong fee, expired invoice, offline peer)
  3. Write down what error you saw and which layer produced it (wallet, node, mempool, peer)

That habit turns reading into builder instinct.

Glossary check

Pick three terms from this lesson and define them in one sentence each without opening notes. Weak definitions mean the lesson is not finished yet.

Resource order

Use Resources in order: narrative book chapter first, then BIP/BOLT for precision, then implementation docs for commands. Jumping straight to RPC flags without the mental model creates brittle knowledge.

Next steps

Study BOLT11 invoices, the payment requests wallets actually scan.

further reading

  • bookMastering the Lightning Network

    Spec references throughout, keep BOLTs open while reading

  • docsLightning RFC discussions

progress // sign in

Reading is public. Sign in to mark lessons complete, sync across devices, and unlock your roadmap.

./sign-in-to-track
prevLightning OverviewnextInvoices

On this page

Press Shift + ? for keyboard shortcuts.

Press R to research on Bitcoin Search.