go-revolver
go-revolver copied to clipboard
A decentralized peer-to-peer broadcast network.
Currently, messages sent to the `Send()` channel are sent to every peer that the node connects to. This API allows for a very simple "flooding" scheme: to send a message...
In networked systems that need access to fixed-size buffers, it's common to use a buffer pool to minimize allocation and relieve GC pressure. Go has `sync.Pool` that's good for this...
There's a [`TODO`](https://github.com/dfinity/go-dfinity-p2p/blob/4d4e943cab35dacd78c96f7df6f4ce1160893ef7/client/bootstrap.go#L104) in the code but I thought I'd put it here for better visibility. @enzoh could you clarify what you meant by a network analyzer?
The library seems to have defined custom protocols for `pair`, `ping`, `sample`, etc. It would help to have a high-level description of the protocols so that people can write custom...