libp2p-rs v0.2.0 released

After more than 2 months of development, we are happy to announce: libp2p-rs v0.2.0 is released! ! !

V0.2.0 mainly adds Kad-DHT, which means that now libp2p-rs has implemented routing host, and users can find nodes, providers and values ​​in the network through Kad-DHT.

In order to better support Kad-DHT and give full play to the effectiveness of libp2p-rs nodes, we have made a lot of optimizations on swarm and tcp transport modules.

Add

DH-card

1. Introduce the beta value as the end condition of the iterative query;
2. Iterative query timeout mechanism;
3. The mechanism of regularly refreshing the routing table;
4. The expired nodes in the routing table are
kept alive; 5. The event generated by the identify protocol and local Monitor address changes;
6, reuse of outbound substreams;
7, iteratively query historical operating status statistics;
8, debug shell commands.

other

floodsub : Supports a topic in the publish and subscribe network. It is currently in the experimental stage.
mdns : Supports automatic discovery of nodes in the local area network. It is currently in the experimental stage.

modify

swarm

New additions:
1. Asynchronous upgrade of in-stack connection;
2. Parallel dialing support;
3. Protocol handler notification mechanism;
4. Local monitoring address change notification mechanism;
5. Operation status measurement.

Improve:
1. Improve peerstore;
2. Improve the identify protocol;
3. Fix some bugs.

other

tcp transport : Added notification of monitoring address changes.
cli : Integrate a debuggable interactive cli , which can be used to observe the operation of swarm and kad in real time, and also to manually operate kad.
Prometheus : Added Prometheus exporter and Info web server.
copyright : Improve MIT license information.

Afterword

The Netwarps team will continue to develop and maintain libp2p-rs. Our short-term plan is to support the tokio runtime. All friends who are interested in libp2p are welcome to submit PR and issues to jointly improve libp2p-rs.


Netwarps is composed of a senior cloud computing and distributed technology development team in China. The team has very rich experience in the financial, power, communications and Internet industries. Netwarps currently has R&D centers in Shenzhen and Beijing, with a team size of 30+, most of which are technicians with more than ten years of development experience, from professional fields such as the Internet, finance, cloud computing, blockchain, and scientific research institutions.
Netwarps focuses on the development and application of secure storage technology products. The main products include decentralized file system (DFS) and decentralized computing platform (DCP), and are committed to providing distributed storage and distributed based on decentralized network technology. The computing platform has the technical characteristics of high availability, low power consumption and low network, and is suitable for scenarios such as the Internet of Things and Industrial Internet.
Official account: Netwarps

Guess you like

Origin blog.51cto.com/14915984/2590807