2023-06-10 00:17:41 +01:00
---
title: Peer Exchange
2023-11-23 12:01:32 +01:00
hide_table_of_contents: true
2023-06-10 00:17:41 +01:00
---
2023-08-01 20:39:04 +01:00
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.
2023-07-07 02:17:02 +01:00
:::info
2023-08-01 20:39:04 +01:00
`Peer Exchange` enables requesting random peers from other network nodes without revealing information about their connectivity or neighbourhood.
2023-07-07 02:17:02 +01:00
:::
2023-06-10 00:17:41 +01:00
2023-06-14 04:34:58 +01:00
#### Pros
2023-06-10 00:17:41 +01:00
- Low resource requirements.
2023-08-01 20:39:04 +01:00
- Decentralised with random sampling of nodes from a global view using `Discv5` .
2023-06-10 00:17:41 +01:00
2023-06-14 04:34:58 +01:00
#### Cons
2023-06-10 00:17:41 +01:00
- Decreased anonymity.
2023-06-10 00:53:16 +01:00
- Imposes additional load on responder nodes.
## Overview
```mdx-code-block
2023-06-10 01:29:29 +01:00
import PeerExchange from "@site/diagrams/_peer -exchange.md";
2023-06-10 00:53:16 +01:00
< PeerExchange / >
```