Skip to content

Commit

Permalink
[nspcc-dev#37] storage: Add multiaddress format
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Karpy <[email protected]>
  • Loading branch information
carpawell authored and aprasolova committed Oct 7, 2021
1 parent 932a395 commit c9aca63
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions 03-storage/00-intro.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
\newpage
# Storage Nodes

## Address format

NeoFS uses \Gls{MultiAddr} format in a human-readable string version as a Node address in `netmap`. Any new node must provide correct \Gls{MultiAddr} on bootstrap stage. After bootstrap, addresses are verified by `IR` before new Node is a part of `netmap`.

Correct address *composition* and *order*:

1. Network layer(`dns4`, `ip4` or `ip6`);
2. Transport layer(`tcp`);
3. Presentation layer(`tls`) - optional, may be absent.

### Examples:

#### Correct
- `/dns4/somehost/tcp/80/tls`;
- `/ip4/1.2.3.4/tcp/80`.

#### Incorrect
- `/tcp/80/ip4/1.2.3.4`;
- `/tls/ip4/1.2.3.4/tcp/80`;
- `/ip4/1.2.3.4/dns4/somehost/tcp/80`.

0 comments on commit c9aca63

Please sign in to comment.