显示包…
5 个版本
| 0.36.0 | 2021 年 3 月 12 日 |
|---|---|
| 0.34.3 | 2021 年 4 月 4 日 |
| 0.0.0 |
|
53 在 #tetcoin
389 每月下载
用于 65 个包 (8 直接)
1MB
19K SLoC
tetsy-libp2p 工作的主要集中存储库
此存储库是 tetcore 的 libp2p 规范的 Rust 开发的集中地点。
警告:虽然我们正在尽力与其他 tetsy-libp2p 实现兼容,但由于缺乏精确的 tetsy-libp2p 规范,我们无法保证这一点。
文档
如何使用此库?
在哪里提问?
- 在 Twitter
- 在 freenode 的 #tetsy-libp2p IRC 频道。
- 通过在此存储库中打开一个问题。
存储库结构
此存储库的主要组件结构如下
-
core/:tetsy-libp2p-core 的实现,包括其Network、Transport和StreamMuxerAPI,几乎所有其他包都依赖于它。 -
transports/:基于 tetsy-libp2p-core 的TransportAPI 的传输协议(例如 TCP)和协议升级(例如,用于认证加密、压缩等)的实现。 -
muxers/:tetsy-libp2p-core 的StreamMuxer接口的实现,例如在(通常是 TCP)连接之上(子)流多路复用协议。多路复用协议是(强制性)Transport升级。 -
swarm/:tetsy-libp2p-swarm 的实现,基于 tetsy-libp2p-core,使用NetworkBehaviour和ProtocolsHandler中心接口来实施应用程序协议(请参阅protocols/)。 -
protocols/:基于 tetsy-libp2p-swarm API 的应用程序协议的实现。 -
misc/:实用库。 -
examples/:内置应用程序协议(请参阅protocols/)的工作示例,具有常见的Transport配置。
知名用户
(如果您想在此处添加您的项目,请打开一个拉取请求)
- https://github.com/paritytech/polkadot
- https://github.com/paritytech/substrate
- https://github.com/sigp/lighthouse
- https://github.com/golemfactory/golem-libp2p
- https://github.com/comit-network
- https://github.com/rs-ipfs/rust-ipfs
- https://github.com/marcopoloprotocol/marcopolo
- https://github.com/ChainSafe/forest
依赖项
~10-26MB
~436K SLoC