Melnet: the P2P layer
Last updated
Last updated
Mel uses a very simple P2P protocol, melnet, for communication among and between full nodes and light clients. Implemented as a within the framework, it has the following features:
Unstructured gossip network, similar to Bitcoin (and unlike libp2p and similar DHTs)
Uses JSON-RPC 2.0 over plain HTTP/1.1. Not even WebSockets is used.
Using simple web standards makes it easy for (still future) web-based clients written in JavaScript or WebAssembly to directly access the P2P network. In-browser light clients, or even full nodes, become possible.