add predefined nodes diagram
This commit is contained in:
parent
d7e12d6abb
commit
a5e761b3af
|
@ -0,0 +1,7 @@
|
|||
```mermaid
|
||||
sequenceDiagram
|
||||
Alice->>Bob: Connect to Bob (predefined node details)
|
||||
Alice->>Carol: Connect to Carol (predefined node details)
|
||||
```
|
||||
|
||||
Alice establishes connections with Bob and Carol using their node details, which are predefined (hard-coded) into Alice's node.
|
|
@ -27,7 +27,7 @@ Waku provides a set of protocols to optimize its performance in resource-limited
|
|||
Here is a diagram illustrating the interaction between different protocols within the Waku Network.
|
||||
|
||||
```mdx-code-block
|
||||
import ProtocolInteraction from "@site/diagrams/_protocol_interaction.md";
|
||||
import ProtocolInteraction from "@site/diagrams/_protocol-interaction.md";
|
||||
|
||||
<ProtocolInteraction />
|
||||
```
|
|
@ -20,7 +20,7 @@ This bootstrapping method allows anyone to register and publish a domain name fo
|
|||
## Overview
|
||||
|
||||
```mdx-code-block
|
||||
import DNSDiscovery from "@site/diagrams/_dns_discovery.md";
|
||||
import DNSDiscovery from "@site/diagrams/_dns-discovery.md";
|
||||
|
||||
<DNSDiscovery />
|
||||
```
|
|
@ -17,7 +17,7 @@ The primary objective of this protocol is to facilitate peer connectivity for re
|
|||
## Overview
|
||||
|
||||
```mdx-code-block
|
||||
import PeerExchange from "@site/diagrams/_peer_exchange.md";
|
||||
import PeerExchange from "@site/diagrams/_peer-exchange.md";
|
||||
|
||||
<PeerExchange />
|
||||
```
|
|
@ -2,7 +2,7 @@
|
|||
title: Predefined Nodes
|
||||
---
|
||||
|
||||
Waku applications have the flexibility to embed bootstrap node addresses directly into their codebase. Developers can opt to use either the [predefined nodes by Status](https://github.com/waku-org/js-waku/blob/master/packages/core/src/lib/predefined_bootstrap_nodes.ts#L45) or [run a node](/guides/nodes-and-sdks#run-a-waku-node) per their preference.
|
||||
Waku applications have the flexibility to embed bootstrap node addresses directly into their codebase. Developers can use either the [predefined nodes by Status](https://github.com/waku-org/js-waku/blob/master/packages/core/src/lib/predefined_bootstrap_nodes.ts#L45) or [run a node](/guides/nodes-and-sdks#run-a-waku-node) per their preference.
|
||||
|
||||
## Pros
|
||||
|
||||
|
@ -14,3 +14,11 @@ Waku applications have the flexibility to embed bootstrap node addresses directl
|
|||
- Vulnerable to censorship: Node IPs can be blocked or restricted.
|
||||
- Limited scalability: The number of nodes is fixed and cannot easily be expanded.
|
||||
- Maintenance challenges: Updating the node list requires modifying the code, which can be cumbersome and involves releasing and deploying.
|
||||
|
||||
## Overview
|
||||
|
||||
```mdx-code-block
|
||||
import PredefinedNodes from "@site/diagrams/_predefined-nodes.md";
|
||||
|
||||
<PredefinedNodes />
|
||||
```
|
Loading…
Reference in New Issue