feat: new stuff

This commit is contained in:
Strix 2023-10-15 18:06:34 +02:00
parent 3eece7ecd9
commit f88706bac8
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
20 changed files with 232 additions and 77 deletions

View file

@ -8,7 +8,7 @@ The job of a master node is rather complex.
## Forwarding packets
The most straight forward job of the node.
It works by essentially having a hashmap with a reference to a socket.
When a packet comes in the node gets forwarded to the right socket.
When a packet comes in the packet gets forwarded to the right node and socket.
## Handling network state
The master node ensures there are no duplicate identifiers and therefore nodes.
@ -16,7 +16,7 @@ Also, it will make sure no invalid updates can be sent.
Most packets go through the master node before getting to the source.
Most because the subnet node can have private nodes and handle those themselves.
# The Bridge node (`relay`)
# The Bridge node (`bridge`)
The bridge node is simple.
In config you define where to forward the packets to, and they get delivered to there.