misc changes (#622)

This commit is contained in:
Alvaro Revuelta 2023-10-03 13:47:30 +02:00 committed by GitHub
parent 84024c5211
commit 3ef20b8001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 14 deletions

View File

@ -66,11 +66,8 @@ shard clusters are divided into ranges:
| index (range) | usage |
| --- | --- |
| 0 | global |
| 1 - 15 | reserved |
| 16 - 1023 | specific app protocols |
| 1024 - 49152 | all app protocols |
| 49152 - 65535 | automatic sharding |
| 0 - 15 | reserved |
| 16 - 65535| app-defined networks |
The informational RFC [52/WAKU2-RELAY-STATIC-SHARD-ALLOC](/spec/52) lists the current index allocations.

View File

@ -18,23 +18,16 @@ This document lists static shard flag index assignments (see [51/WAKU2-RELAY-SHA
Similar to the [IANA port allocation](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml),
this document lists static shard index assignments (see [51/WAKU2-RELAY-SHARDING](/spec/51/).
The index ranges are as follows:
index `0` represents the global shards,
indices `1` to `15` are reserved,
indices `16` to `1023` are reservable for apps,
indices `1024` to `49151` are for open use by apps,
indices `49152` to `65535` are reserved.
# Assingment Process
> *Note*: Future versions of this document will specify the assignment process.
# List of Static Shard Indices
# List of Cluster Ids
| index | Protocol/App | Description |
| --- | --- | --- |
| 0 | global | global use |
| 1 | reserved | |
| 1 | reserved | [The Waku Network](https://rfc.vac.dev/spec/64/#network-shards) |
| 2 | reserved | |
| 3 | reserved | |
| 4 | reserved | |