docs.waku.org/docs/learn/concepts/peer-exchange.md
2023-11-23 12:01:32 +01:00

28 lines
862 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. Have a look at the [Peer Exchange](https://rfc.vac.dev/spec/34/) specification to learn more.
:::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 />
```