p2p
p2p copied to clipboard
Refactor comminication subsystem
Current communication between peers is ineffective. Packet contains a few fields that's not used and can be removed, too many packet types.
Our plan is to make communication between peers much simpler by limiting number of packet types to 3:
- Normal network packet that will be decrypted and sent to TAP interface upon receive.
- Proxy packet will not be ecnrypted/decrypted and used between proxies and peers
- Communication packet - communication protocol between two peers. We may also think about implementation of Discovery service support.