21Relay
Intermediate curriculum
Lesson 1616 minReviewed July 2026

Network Propagation and Peer Discovery

Follow how a new node finds peers and how transaction and block announcements spread across Bitcoin without a central routing service.

Learning outcomes

By the end of this lesson, you should be able to

  • Bitcoin has no central peer directory.
  • DNS seeds suggest peers but are not trusted sources of chain truth.
  • Nodes announce and request data to avoid unnecessary transfer.
  • Mempools and relay views can differ between nodes.
1

A node needs an initial route into the network

A new node has no central Bitcoin server to contact. It can begin with remembered peer addresses, DNS seeds supplied by the software, manually configured peers or other discovery methods.

DNS seeds return possible peer addresses; they do not provide trusted blockchain data. Every connected peer remains an untrusted source whose messages must be validated.

2

Peers exchange capabilities and addresses

After opening a connection, peers complete a version handshake and advertise supported services. Nodes can also share addresses so their peers learn about other reachable nodes.

Connections are selected and managed to reduce dependence on one network region or address source. A large displayed peer count alone does not prove a node has a diverse view.

3

Announcements avoid sending everything blindly

Peers commonly announce data by identifier before the receiver requests what it lacks. Transactions may be announced with inventory messages, while compact block relay can reconstruct a block from transactions already known to the receiving node.

This request-and-response pattern reduces duplicate traffic, but propagation is not instantaneous or identical. Different nodes have different connections, policies and mempools.

4

Validation comes before trust

A received transaction is checked before it enters the local mempool and is relayed under the node's policy. A received block must satisfy proof of work and every relevant consensus rule before it joins the active chain.

Relaying an item does not make it valid by popularity. A thousand peers cannot make a correctly operating full node accept a block that breaks its consensus rules.

5

Network position affects privacy and resilience

Observers controlling or monitoring many connections may infer where a transaction originated, while an eclipse attacker tries to isolate a node's network view. Diverse peer selection and protected network access help reduce these risks.

Tor can hide a node's public IP from peers in some configurations, but it changes network assumptions and does not provide complete anonymity. Privacy claims should remain bounded and testable.

Visual recap

A transaction crosses the peer network

Each receiving node decides independently whether to accept and relay the announcement.

01

Discover peers

02

Complete handshake

03

Announce identifier

04

Request missing data

05

Validate locally

06

Relay onward

Key takeaways

  • Bitcoin has no central peer directory.
  • DNS seeds suggest peers but are not trusted sources of chain truth.
  • Nodes announce and request data to avoid unnecessary transfer.
  • Mempools and relay views can differ between nodes.
  • Every full node validates received data independently.

Lesson recap

Check what you learned

Reveal each model answer, then honestly mark whether you understood it or need another review.

1 of 3

Recall

Does a DNS seed tell a new node which blockchain is valid?

References

Further reading

Lesson progress

Loading progress...

Rate this lesson

Was this lesson helpful?

No name or financial information is collected.

Found inaccurate or outdated information? Report a correction