FIL-RetroPGF Logo Filecoin RetroPGF Round 3 Round 2 Round 1

Round 2 / go-libp2p

Category

Infrastructure

GitHub URL

https://github.com/libp2p/go-libp2p

Funding amount

4,055.12 FIL

go-libp2p is the networking stack that the Filecoin network, its consensus algorithm and its most widely adopted implementation, Lotus, depend on. It is one of the most critical dependencies of Lotus and Filecoin and without go-libp2p, Lotus would need to develop (and maintain) an entire bespoke networking stack for the P2P layer. Thus, by virtue of using go-libp2p, Lotus, Venus, Boost, and the Filecoin network can continue to focus on other key business needs, features, and rely on the guarantees provided by go-libp2p and the Interplanetary Shipyard team. Go-libp2p provides the Filecoin networking stack transports such as TCP, QUIC, WebSocket, WebRTC, WebTransport, and HTTP, it provides secure channels to send data via encryption mechanisms like TLS and Noise. It provides reachability for nodes on private networks via Hole Punching, AutoNat, Circuit Relay mechanisms, and it provides peer to peer gossip capabilities via GossipSub. It provides DoS resiliency and security for the networking layer via resource management capabilities, and much more. The go-libp2p maintainers at IP Shipyard work closely with the Filecoin Foundation and FilOz team in triaging, assessing, fixing, and deploying security vulnerabilities with 2+ vulnerabilities patched in the past 6 months.