js-libp2p icon indicating copy to clipboard operation
js-libp2p copied to clipboard

The JavaScript Implementation of libp2p networking stack.

Results 304 js-libp2p issues
Sort by recently updated
recently updated
newest added

Profiling https://github.com/ChainSafe/lodestar/pull/4114 shows there is now excessive time spent `slice`ing `Uint8ArrayList`s. ``` Self Total Function Library 35.32 % 35.32 % concat concat.js:1 uint8arrays 35.32 % 35.32 % slice index.js:121 uint8arraylist...

kind/bug
status/in-progress
topic/perf

closes #1029 Implemented: - hop protocol + unit tests - stop protocol + unit tests - integrated into transport with v1 fallback - real reservation store - sending reservations and...

Instead of creating a new stream objects instead just overwrite the duplex fields with ones from the mss stream.

- **Version**: ` "@chainsafe/libp2p-noise": "^7.0.1", "@libp2p/bootstrap": "^2.0.0", "@libp2p/mplex": "^4.0.0", "@libp2p/peer-id-factory": "^1.0.16", "@libp2p/webrtc-star": "^3.0.0", "@libp2p/websockets": "^3.0.1", "libp2p": "^0.37.3", "libp2p-websockets": "^0.16.2", "peer-id": "^0.16.0", "react": "^18.2.0",` - **Platform**: `Chrome on OSX` - **Subsystem**:...

need/triage

An implementation of Autonat compatible with https://github.com/libp2p/go-libp2p-autonat is required. See also: https://docs.libp2p.io/concepts/nat/

kind/enhancement
exp/expert
status/ready

Since there is no placeholder repository and no corresponding issue in this repo yet, I decided to create one here. There is Yamux implementation in TypeScript at https://github.com/th-ch/yamux-js, it must...

exp/expert
P0
kind/maintenance
effort/days
topic/interop

Implements the [autonat](https://github.com/libp2p/specs/blob/master/autonat/README.md) spec to give us confidence in our external addresses and to open the door to things like switching DHT server mode on automatically, hole punching, v2 circuit...

Relies on #1289 Opening this as a draft for discussion. This interop test passes when linking yamux locally. Changes to the upgrader are needed for yamux, but break mplex :upside_down_face:...

I just tested this example and found a bug, here is the origin code ``` //subscribe node1.pubsub.addEventListener(topic, (evt) => { // Will not receive own published messages by default console.log(`node1...

need/triage