docs.waku.org/docs/learn/concepts/peer-exchange.md
2024-05-16 18:22:15 +01:00

29 lines
769 B
Markdown

---
title: Peer Exchange
hide_table_of_contents: true
---
The primary objective of this protocol is to facilitate peer connectivity for resource-limited devices without relying on `Discv5`. The peer exchange protocol enables light nodes to request peers from other nodes within the network.
:::info
`Peer Exchange` enables requesting random peers from other network nodes without revealing information about their connectivity or neighbourhood.
:::
#### Pros
- Low resource requirements.
- Decentralised with random sampling of nodes from a global view using `Discv5`.
#### Cons
- Decreased anonymity.
- Imposes additional load on responder nodes.
## Overview
```mdx-code-block
import PeerExchange from "@site/diagrams/_peer-exchange.md";
<PeerExchange />
```