-
Notifications
You must be signed in to change notification settings - Fork 472
Comparing changes
Open a pull request
base repository: libp2p/js-libp2p
base: e91a5a49b825806a9520c8bd2de91cbd1d41f55a
head repository: libp2p/js-libp2p
compare: 0ce69f0f21ce9bec4ae7ee75f389f53d714677b3
Commits on Feb 26, 2025
-
fix: ignore failures to listen on IPv6 addresses when IPv4 succeeds (#…
Configuration menu - View commit details
-
Copy full SHA for e2f4943 - Browse repository at this point
Copy the full SHA e2f4943View commit details -
fix: check for new addresses during dialing (#3003)
Fixes a race condition where two independent dials occur for the same peer id with different addresses (e.g. one IPv4 and one IPv6) - if the IPv6 is the current dial, the IPv4 dial joins the IPv6 one which can then fail if the current network doesn't support IPv6. Instead check the list of addresses to dial after each dial attempt to see if new addresses have been added.
Configuration menu - View commit details
-
Copy full SHA for be9b6a0 - Browse repository at this point
Copy the full SHA be9b6a0View commit details -
chore: use prefix logger (#3007)
Where a relay server is started, use a prefix logger to prevent DEBUG output clashing with the unit under test
Configuration menu - View commit details
-
Copy full SHA for e1f868f - Browse repository at this point
Copy the full SHA e1f868fView commit details -
chore: small logging improvement (#3006)
Be more specific about relay servers
Configuration menu - View commit details
-
Copy full SHA for 96f79bc - Browse repository at this point
Copy the full SHA 96f79bcView commit details -
docs: update WebRTC jsdocs (#3005)
Updates config comments and moves constants into the constants file
Configuration menu - View commit details
-
Copy full SHA for f3d9f56 - Browse repository at this point
Copy the full SHA f3d9f56View commit details -
fix: improve error message when starting server (#3008)
When transports fail to listen, include specific error messages and advice on how to proceed.
Configuration menu - View commit details
-
Copy full SHA for ab1bb86 - Browse repository at this point
Copy the full SHA ab1bb86View commit details -
fix: improve kad distance list performance (#3009)
Refactors `addWithKadId` to splice the new entry into the list rather than adding it and then sorting.
Configuration menu - View commit details
-
Copy full SHA for 4939ef7 - Browse repository at this point
Copy the full SHA 4939ef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f199d1f - Browse repository at this point
Copy the full SHA f199d1fView commit details -
fix: constrain ip6 listener to ip6 addresses (#3010)
Solves a port conflict if both ip4 and ip6 wildcard ports are listened on. Only seems to affect some Linuxes.
Configuration menu - View commit details
-
Copy full SHA for 22e62d0 - Browse repository at this point
Copy the full SHA 22e62d0View commit details -
fix: constrain ip6 ws listener to ip6 stack (#3011)
Applies fix from #3010 to ws listener
Configuration menu - View commit details
-
Copy full SHA for 0555339 - Browse repository at this point
Copy the full SHA 0555339View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64052ee - Browse repository at this point
Copy the full SHA 64052eeView commit details
Commits on Feb 27, 2025
-
fix: add DER decoder and allow passing protobuf digest (#3013)
Adds enough of a DER decoder/encoder to parse/store public keys from PKIX bytes and private keys in PKCS#1 bytes. Also allows passing the digest of a public key in to `publicKeyFromProtobuf` so we can avoid having to recalculate it. This becomes a big bottleneck when loading a routing table's worth of peers from the peer store where many of them are RSA peers.
Configuration menu - View commit details
-
Copy full SHA for 9acccaa - Browse repository at this point
Copy the full SHA 9acccaaView commit details -
fix: pass digest to publicKeyFromProtobuf (#3014)
This with the changes from #3013 roughly doubles the throughput of loading RSA peers from the peer store which is a massive bottleneck when restarting the amino bootstrapper. Before: ``` % node benchmarks/load-peers.js read all x 5.94 ops/sec ±1.37% (33 runs sampled) ``` After: ``` % node benchmarks/load-peers.js read all x 12.43 ops/sec ±1.18% (63 runs sampled) ```
Configuration menu - View commit details
-
Copy full SHA for 3d9b07c - Browse repository at this point
Copy the full SHA 3d9b07cView commit details
Commits on Mar 3, 2025
-
fix: .d.ts is in ./dist folder (#3018)
Since the export is badly done when you try to resolve with esplugin import it will lead to 1:27 error Unable to resolve path to module '@libp2p/bootstrap' import/no-unresolved Signed-off-by: Sacha Froment <sfroment42@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 52a46ec - Browse repository at this point
Copy the full SHA 52a46ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6074de6 - Browse repository at this point
Copy the full SHA 6074de6View commit details -
feat: expire peerstore data (#3019)
Expires peer store multiaddrs after an hour and removes peer store peers after six hours if their addresses have not been updated. Fixes #3017
Configuration menu - View commit details
-
Copy full SHA for 80fe31a - Browse repository at this point
Copy the full SHA 80fe31aView commit details -
feat: allow early muxer selection by connection encrypters (#3022)
Some encrypters allow sending application protocols along with the initial handshake. We can use these to select muxers and save the round-trips of mss.
Configuration menu - View commit details
-
Copy full SHA for dd71d8a - Browse repository at this point
Copy the full SHA dd71d8aView commit details -
feat: add metrics to tls encrypter (#3025)
Adds metrics for events and errors
Configuration menu - View commit details
-
Copy full SHA for 3f127b6 - Browse repository at this point
Copy the full SHA 3f127b6View commit details -
fix: abort connection on TLS error (#3027)
If the TLS socket emits an error message, abort the connection if it is abortable. We should probably ammend the interface so `.abort` is relected in the types but this would be a bigger change.
Configuration menu - View commit details
-
Copy full SHA for 2c8ecb4 - Browse repository at this point
Copy the full SHA 2c8ecb4View commit details -
fix: always send key type (#3028)
Mark the field `optional` so we always send it on the wire, otherwise proto2 decoders that have it marked `required` will fail to decode the incoming message.
Configuration menu - View commit details
-
Copy full SHA for 2fbcdb6 - Browse repository at this point
Copy the full SHA 2fbcdb6View commit details -
feat: select muxer early (#3026)
Uses ALPN protocols to select an early muxer and skip the multistream-select dance. Restores compatibility with jvm-libp2p.
Configuration menu - View commit details
-
Copy full SHA for c4b6a37 - Browse repository at this point
Copy the full SHA c4b6a37View commit details -
fix: decrease default routing table size (#3023)
Reduces the default routing table size to 1280. This improves CPU/memory/network usage as we don't need to sort as many peers when finding the closest ones to a given key, nor do we need to contact as many to ensure only live peers are still in the table.
Configuration menu - View commit details
-
Copy full SHA for 48cd9b6 - Browse repository at this point
Copy the full SHA 48cd9b6View commit details
Commits on Mar 4, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 0ce69f0 - Browse repository at this point
Copy the full SHA 0ce69f0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff e91a5a49b825806a9520c8bd2de91cbd1d41f55a...0ce69f0f21ce9bec4ae7ee75f389f53d714677b3