BR Academy
0%
How Bitcoin Works u2014 Architecture·Lesson 5 of 37·9 min

Nodes, Peers, and the Network

Module 1 established why Bitcoin has no central operator. This lesson gets concrete about what actually replaces one: a global, peer-to-peer network of independently-run computers called nodes, each of which can talk to dozens of other nodes (its peers) and each of which independently enforces the exact same rules. Understanding what a node does — and that running one requires no one's permission — is the foundation for everything in Modules 2 and 3.

The Concept

A Bitcoin node is a piece of software (most commonly Bitcoin Core) running on a computer anywhere in the world that connects to other nodes over the internet and does three jobs continuously: it stores a copy of the blockchain, it checks every new transaction and block it receives against Bitcoin's consensus rules, and it relays valid data onward to its peers while rejecting anything invalid. There is no master node and no node with special authority — every full node applies the identical rule set, and a node that receives a block breaking a rule (say, a transaction trying to create bitcoin out of nothing, or spend money it doesn't have) simply discards it, regardless of how much mining power produced it.

A useful distinction is between full nodes and lightweight (SPV) nodes. A full node downloads and independently verifies the entire blockchain history — every block since 2009 — which as of the mid-2020s runs into the hundreds of gigabytes, and checks every rule itself without trusting anyone else's summary. A lightweight node, often running on a phone wallet, instead downloads only block headers and asks full nodes for proof that its own transactions are included, trading some independence for much lower storage and bandwidth. Miners are a distinct role again: they are nodes (or connected to nodes) that additionally compete to produce new blocks via proof of work, but a computer can run a full node — validating and enforcing the rules — without mining at all, and the overwhelming majority of nodes do exactly that.

Nodes discover each other through a peer-to-peer gossip protocol: a new node connects to a handful of known peers (seeded from a list built into the software or from DNS seed servers), and those peers introduce it to further peers, building a mesh network with no center. When a node creates or receives a new transaction or block, it relays it to all of its peers, who validate it independently and relay it onward, so new data propagates across the global network typically within seconds. Because validation is independent at every hop, a dishonest or compromised peer cannot trick an honest node into accepting an invalid transaction — the honest node checks the rules itself and simply drops anything that fails, regardless of who sent it or how convincingly.

This is the practical meaning of "no trusted third party": you do not need to trust any single node, peer, or miner, because you (or your wallet software, or any node you choose to run or query) can independently verify every rule for yourself. Running a full node is open to anyone with a consumer computer and a broadband connection — no application, fee, or approval is required, which is a direct expression of the permissionless property introduced in the previous lesson.

Worked Example

Say a node in Singapore creates a transaction and broadcasts it to its eight directly connected peers. Each of those peers independently checks that the transaction's signature is valid, that the funds being spent actually exist and haven't already been spent, and that it follows the format rules — then each relays it to its own peers (who were not directly connected to the Singapore node at all). Within a few seconds, a node in Argentina that has never communicated with the Singapore node receives the same transaction, performs the identical independent checks, and — assuming it passes — adds it to its own view of pending transactions, ready to be included in the next block by whichever miner solves it first.

Exercise

Open a block explorer (a public website that reads the Bitcoin blockchain, such as mempool.space or blockstream.info) and look up the most recent confirmed block. Note its height (block number), the number of transactions it contains, and its timestamp. Then write one sentence describing what a full node did with that block the moment it arrived: which specific things did it check before accepting it?

Recap

  • A node is independent software that stores the blockchain, validates every rule itself, and relays valid data to peers — with no central node holding special authority.
  • Full nodes verify the entire history independently; lightweight wallets trust full nodes for proof of inclusion; miners are a separate role focused on producing new blocks.
  • Anyone can run a node with no permission required, and because every node checks the rules itself, no single peer or miner can trick the network into accepting an invalid transaction.

Resources

  • Bitcoin.org, "Running a Full Node" (bitcoin.org/en/full-node) — requirements and what a node actually does.
  • Bitcoin Developer Guide, "P2P Network" (developer.bitcoin.org/devguide/p2p_network.html) — technical detail on peer discovery and relay.
  • mempool.space — a public block explorer useful for the lesson's exercise.