First implementation of the pure part of the gossipsub algorithm (without heartbeat)
The algorithm is described here. See this link to get a specification.
For the moment, the heartbeat (aka maintenance) is not implemented. I used the Go implementation as a reference.
The current code is clearly under specified at the moment.
Edited by François Thiré