About 14 minutes with practice. You only need something to take notes with. No real wallet details or payments are part of this lesson.
Course contents · Lesson 18 of 21
- Read the whitepaper as an argument · Marked complete
- Hashes and Merkle commitments · Marked complete
- UTXOs, change and accounting · Marked complete
- Scripts describe spending conditions · Marked complete
- Signatures and what they authorize · Marked complete
- Block headers and the chain of work · Marked complete
- Difficulty, hashrate and noisy observations · Marked complete
- Issuance, fees and incentives · Marked complete
- Mempools and policy are not consensus · Marked complete
- Fee changes: RBF and CPFP · Marked complete
- SegWit and transaction weight · Marked complete
- Taproot and Schnorr: useful, not magical · Marked complete
- HD wallets and derivation paths · Marked complete
- PSBT: separate construction from signing · Marked complete
- Descriptors make a wallet policy portable · Marked complete
- Full nodes, pruning and verification · Marked complete
- Reorganizations and lightweight evidence · Marked complete
- Lightning channels and HTLCs · Marked complete
- Lightning liquidity has direction · Marked complete
- Soft forks, proposals and human coordination · Marked complete
- Capstone: trace a payment end to end · Marked complete
What you will learn
- Describe hash and time conditions conceptually.
- Explain why channel operation needs current state.
Channels keep an enforceable relationship
Lightning participants exchange updates to channel balances with commitments anchored to Bitcoin. Routed payments connect multiple channels. The protocol uses conditional mechanisms so a forwarding node can link what it pays onward to what it receives. The goal is coordinated completion or failure rather than simply trusting each intermediary to forward money.
Hashes and timeouts coordinate the path
An HTLC combines a hash-based condition with a timeout. Revealing the appropriate preimage can fulfill the payment condition; time constraints provide a recovery path when it is not fulfilled. Timeout differences along a route matter because intermediaries need time to resolve dependent claims. The exact commitment and channel rules belong to the relevant Lightning specification and implementation.
Operational details remain important
A correct protocol is not a substitute for current state, backups, monitoring and fee management. A self-hosted node operator must understand their implementation’s recovery method rather than assuming an on-chain seed restores every channel situation. This lesson deliberately uses a diagram, not a live channel. Draw payer, forwarding node and recipient, then label the information each needs and what happens when a participant becomes unavailable.
Practice on paper
Why should an intermediary’s incoming and outgoing conditions be coordinated rather than independent promises?
Reveal the worked answer
The intermediary needs a way to obtain what it is owed when the onward payment succeeds and to resolve failure within the allowed time. Independent informal promises would reintroduce trust and loss exposure.
Check your understanding
Choose an answer in your head or on paper, then reveal the explanation. Retry whenever you like. Answers are not submitted or scored; completion marks are your own learning notes.
1. Are forwarding nodes meant to rely only on a recipient’s verbal promise?
- Yes
- No
Reveal answer 1
No. Conditional protocol mechanisms coordinate outcomes.
2. Does an on-chain wallet backup automatically describe every Lightning recovery procedure?
- Yes
- No
Reveal answer 2
No. Channel-state and implementation-specific recovery requirements matter.
Take this with you
Understand the condition and the operational responsibility together.
Your learning, at your pace
Read every lesson freely. Optional progress tracking needs JavaScript and browser storage; it does not require an account or wallet.
Remove the saved completion marks for this course on this browser? Other courses will stay unchanged.
Saved only in this browser for this website address. Clearing storage, changing device or using a different gateway may lose these marks. No sync, grading or credential; nothing is sent to us. The export is a record for you, not a file this site can import.