One UDP Port, Two Event Loops, No Signaling: WebRTC-Direct Lands in py-libp2p
How WebRTC-Direct landed in py-libp2p across 11 PRs: bridging trio and asyncio, sharing one UDP port, inferring offers from STUN, and passing go-libp2p interop.
20 posts tagged with "py-libp2p".
How WebRTC-Direct landed in py-libp2p across 11 PRs: bridging trio and asyncio, sharing one UDP port, inferring offers from STUN, and passing go-libp2p interop.
Replacing type: ignore hacks and multiaddr string parsing with a typed interface that lets a connection report whether it is direct or relayed.
Two boolean flags kept py-libp2p's TLS handshake from interoperating with go-libp2p and rust-libp2p. Finding them took 739 lines of investigation.
Release v0.6.0 of py-libp2p
An overview of changes and updates in the v0.5.0 tag
A one-line TODO in basic_host.py hid a layer violation: transport addresses carried peer identity. Separating them aligned py-libp2p with go-libp2p and the spec.
How three contributors grew py-libp2p's 229-line WebSocket stub into a production transport with TLS, connection limits, and cross-implementation tests.
Release v0.4.0 of py-libp2p
A security fix that hardened the default bind address slowed the KAD-DHT test suite by 66%. Diagnosing the regression and designing a validated escape hatch.
Release v0.3.0 of py-libp2p
Migrating 17 py-libp2p examples off the 0.0.0.0 wildcard bind to dynamic interface discovery, without breaking multi-machine demos.
A single hardcoded /tmp path made py-libp2p unusable on Windows. The fix, and what it says about portability assumptions in networking code.
How py-libp2p replaced hardcoded listen addresses with runtime network interface discovery, and why the wildcard default had to go.
Release v0.2.10 of py-libp2p
Release v0.2.9 of py-libp2p
Release v0.2.8 of py-libp2p
Release v0.2.7 of py-libp2p
Release v0.2.6 of py-libp2p
Release v0.2.5 of py-libp2p
Release v0.2.4 of py-libp2p