mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-03 13:11:21 +00:00
* Map all 127.0.0.0/8 addresses to 127.0.0.1. Since every local socket address in the 127.0.0.0/8 space is looped back to 127.0.0.1/32 we should only have to report the later as the listen address. For other addresses we still attempt to discover host addresses when we encounter an unknown local address. We now also check that after the host addresses have been reset that the address is now found, otherwise we produce an error. * Change listen address lookup. Perform multiple steps: 1. Check for exact address match. 2. Else consider netmask and check for containment. 3. Else re-check host addresses and try 1 & 2 again. 4. Else report an error. * Small fixes. * Test and improve prefix_len. * Simplify and inline the prefix_len logic.
Central repository for work on libp2p
This repository is the central place for Rust development of the libp2p spec.
Warning: While we are trying our best to be compatible with other libp2p implementations, we cannot guarantee that this is the case considering the lack of a precise libp2p specifications.
Documentation
How to use the library?
- Main documentation: https://docs.rs/libp2p
Where to ask questions?
- In the Rust section of https://discuss.libp2p.io.
- In the #libp2p IRC channel on freenode.
- By opening an issue in this repository.
Notable users
(open a pull request if you want your project to be added here)
Languages
Rust
99.8%
JavaScript
0.2%