Open brapse opened 4 years ago
Definitely, and I think if we don't use libp2p eventually then we should strongly consider adapting and adopting libp2p's architecture when it comes to abstracting "transports", "streams" and "network behaviours". See the libp2p crate's docs here for details.
The current experiment binds directly to a TcpListener. It might be interesting to bind to some treat which provides the
accept
andlisten
function which could be driven by a simulator.