⛔ Educational Use Only — Not Financial Advice
This page is for educational and entertainment purposes only. It is not financial advice, tax advice, or legal advice. Do your own research. Consult a licensed professional before making any financial decisions.
Background
What Is the OSI Model?
When you send a message over the internet — whether it is an email, a web page, or a Bitcoin transaction — that information does not travel in one big lump. It passes through seven distinct stages, each handled by a different part of your computer hardware and software.
In the 1980s, the International Organization for Standardization (ISO) created a framework to describe these seven stages. They called it the Open Systems Interconnection model — or the OSI model for short.
Think of it like sending a letter through the postal system. You write the letter (application), put it in an envelope (presentation), hand it to a postal worker (session), who puts it on a truck (transport), which drives along roads (network), to a local sorting office (data link), and finally a physical carrier delivers it to the door (physical). Each step has a job, and together they get your message where it needs to go.
💡 Why Does This Matter for Bitcoin?
Bitcoin is a software network that runs on top of the internet. Understanding the OSI model shows you exactly which parts of the internet Bitcoin depends on, and where wallets, nodes, and miners fit into the picture. It also helps explain why Bitcoin is censorship-resistant — it uses the same basic internet infrastructure as everything else.
At a Glance
The 7 Layers — Quick Reference
The table below shows all seven layers from top to bottom. Layer 7 is closest to you (the user); Layer 1 is the physical cable or wireless signal.
The Detail
All 7 Layers Explained
Each layer below shows the standard technical description alongside a plain-language explanation — and what Bitcoin is doing at that layer.
🖥️ "What you actually see and use"
The Application layer is the part of the internet you interact with directly — your web browser, your email app, your Bitcoin wallet. This is where human-readable software lives.
At this layer, software sends requests and receives responses. Two computers "talk" to each other using agreed-upon rules called protocols.
- Bitcoin P2P protocol — how nodes talk to each other to share transactions and blocks across the network.
- JSON-RPC — how software applications (like a wallet) send instructions to a Bitcoin node (for example, "broadcast this transaction").
🔐 "Translating and protecting the data"
The Presentation layer is responsible for making sure data is in a format both computers can understand. It also handles encryption — scrambling data so that only the intended recipient can read it.
Think of it as a translator and a locksmith working together: they put the message in the right language and lock it with a key before sending.
🤝 "Opening and keeping a connection alive"
The Session layer manages the "conversation" between two computers — it starts the connection, keeps it going, and ends it cleanly when finished. If the connection drops, the Session layer handles reconnection.
Imagine two people on a telephone call: someone dials, they talk, and someone hangs up. The Session layer handles all of that behind the scenes.
🚚 "Making sure everything arrives safely and in order"
The Transport layer is responsible for reliable delivery. It breaks large chunks of data into smaller packets, sends them, and checks that every packet arrives at the destination without errors. If a packet goes missing, Layer 4 requests it again.
Think of it as a courier service that tracks every parcel and will resend anything that gets lost.
🗺️ "Finding the best route across the internet"
The Network layer handles addressing and routing — deciding how to get data from one place to another across potentially thousands of different computers and networks.
Every device connected to the internet has an IP address — a unique number like a postal code. The Network layer uses these addresses to figure out the best path for your data to travel.
📡 "Moving data between two directly connected devices"
The Data Link layer handles the transfer of data between two devices that are directly connected — for example, your computer and your home router, or two computers on the same local network.
Each device on a local network has a MAC address (a unique hardware identifier). The Data Link layer uses these addresses to deliver data within a local area, before Layer 3 takes over for the longer journey across the internet.
Note: "Layer 2" is also used informally in the Bitcoin community to refer to the Lightning Network — a payment system built on top of Bitcoin. That is a completely separate and different meaning from the OSI Layer 2 described here.
🔌 "The actual wires, radio signals, and hardware"
The Physical layer is the most fundamental of all — it is the actual hardware: the cables, fibre optic lines, Wi-Fi radio signals, routers, network cards, and data centres that make the internet physically possible.
Without Layer 1, none of the other layers can exist. All digital data — emails, web pages, video calls, and Bitcoin transactions — ultimately travels as electrical signals, light pulses, or radio waves through physical infrastructure.
Quick Reference
Bitcoin Component Summary
The three main parts of the Bitcoin network — wallets, nodes, and miners — each operate across multiple OSI layers. Here is a summary:
| Component | OSI Layers Used | What It Does |
|---|---|---|
| 💼 Wallets | Layers 7, 4, 3, 2, 1 | Create and digitally sign Bitcoin transactions, then broadcast them to the network. |
| 🖥️ Nodes | Layers 7, 4, 3, 2, 1 | Validate every transaction and block, relay data to other nodes, and store a full copy of the blockchain. |
| ⛏️ Miners | Layers 7, 4, 3, 2, 1 | Compete to solve a mathematical puzzle (Proof of Work) and broadcast newly confirmed blocks to the network. |
📌 Key Takeaway
All three Bitcoin components — wallets, nodes, and miners — use the same five layers (7, 4, 3, 2, 1). Layers 6 and 5 are mostly handled automatically by the operating system or are not heavily used by Bitcoin's core protocol. This means Bitcoin rides on the same basic internet infrastructure as email or a video call.
Keep Learning
Related Pages & Resources
More on BTC.TedLee.ca
External References
Return to TedLee.ca
⛔ Final Reminder — Not Financial Advice
- This page is for educational and entertainment purposes only.
- It is not financial, tax, or legal advice.
- Do your own research. Verify everything independently.
- Consult a licensed professional before making any financial decisions.
- Never invest money you cannot afford to lose completely.
Transparency
Sources & References
All content on this page is drawn from the following sources. External links open in a new tab.
- Primary source — original page, fetched April 2026 btc.tedlee.ca/osi.html — Bitcoin & the OSI Model (Ted Lee)
- OSI Model background and layer definitions Wikipedia — OSI model
- Bitcoin P2P network protocol details Bitcoin Developer Guide — P2P Network (developer.bitcoin.org)
- General Bitcoin operation overview Bitcoin.org — How Bitcoin Works
- Bitcoin education main page btc.tedlee.ca — Bitcoin Education (Ted Lee)
- Main TedLee.ca website TedLee.ca — Freedom Through Knowledge