3 releases
| 0.4.0 |
|
|---|---|
| 0.4.0-dev.2 | Jan 3, 2026 |
| 0.4.0-dev.1 | Dec 17, 2025 |
| 0.4.0-dev.0 | Dec 3, 2025 |
#11 in #kitsune
1,653 downloads per month
330KB
7K
SLoC
Kitsune2 transport implementation backed by iroh.
This transport establishes peer-to-peer connections using iroh's QUIC-based networking. It manages outgoing and incoming connections dynamically, sending and receiving data as framed messages over persistent uni-directional streams.
Each message is framed with a header that specifies the frame type (preflight or data) and the data length, leading to ordered and bounded message delivery. The peer URL is sent as part of the preflight to inform the remote about it and make it available to respond to on the transport level. Since there is no discovery service present in the kitsune2 architecture, the remote URL must be sent with the preflight. Incoming streams are accepted and handled asynchronously per connection. There is one stream open per direction, over which all frames are sent.
kitsune2
p2p / dht communication framework
Dependencies
~43–82MB
~1.5M SLoC