summaryrefslogtreecommitdiffstats
path: root/docs/rfc.md
diff options
context:
space:
mode:
authorbt <bt@rctt.net>2026-04-08 15:31:58 +0200
committerbt <bt@rctt.net>2026-04-14 22:16:45 +0200
commitf66e28aa88a5f4176934001fa9e4967ddccde4a9 (patch)
tree12506a815a2c67ec412fa2b4b8efe3f8a0833a21 /docs/rfc.md
parentb9d3b7ea9df409794eefe48ae1003e8444f519bb (diff)
downloadsolec-f66e28aa88a5f4176934001fa9e4967ddccde4a9.tar.gz
solec-f66e28aa88a5f4176934001fa9e4967ddccde4a9.zip
[docs] Describe connection types
Diffstat (limited to 'docs/rfc.md')
-rw-r--r--docs/rfc.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/rfc.md b/docs/rfc.md
index eb8f5c1..8c5818e 100644
--- a/docs/rfc.md
+++ b/docs/rfc.md
@@ -186,6 +186,19 @@ Payload is always empty for this type.
|-------|-----------|
| uint8 | ver_major |
| uint8 | ver_minor |
+| uint8 | conn_type |
+
+#### Connection types
+
+`conn_type` specifies type of the connection. User connecting to server
+should use `0x01`. If connection is initialize between two servers to exchange
+message connection type should be `0x02`. Depending on connection type
+different auth method will be used.
+
+| Type | Connection type |
+|------|------------------|
+| 0x01 | User -> Server |
+| 0x02 | Server -> Server |
### Auth