js-libp2p
js-libp2p copied to clipboard
The JavaScript Implementation of libp2p networking stack.
For better visibility. --- by @hugomrdias in #873 two issues i found with electron-forge setup: - we should see if we can make libp2p work without node integration or webpack...
- **Version**: ``` node 16.13 "@chainsafe/libp2p-noise": "^7.0.1", "@libp2p/mplex": "^4.0.0", "@libp2p/tcp": "^3.0.1", "@libp2p/websockets": "^3.0.0", "libp2p": "^0.37.3", "multiaddr": "^10.0.1" ``` - **Platform**: MacOS - **Subsystem**: #### Severity: High - The main functionality...
#### Type: Question #### Description: Currently, js-libp2p uses PeerId objects to identify peers, which are compared using `equals` method and printed with `toB58String`. In many cases, the b58 string is...
Issues seen while migrating lodestar to latest libp2p: - configuration page references peer store "persistence", no longer an option, should use `PersistentPeerStore` instead - `persistent: boolean` listed in an unused...
Current usage of errcode is not intuitive. example: ```ts throw new errcode(new Error('error in foo'), ERR_FOO, { foo: bar }) ``` Prefer an implementation like: ```ts export class CodeError extends...
@D4nte commented on [Thu Apr 22 2021](https://github.com/libp2p/js-libp2p-websockets/issues/127) When not passing any filter in the browser, I understand that filter `dnsWsOrWss` is being used. When trying to connect to an `ip4`...
This is a component of connection tagging. Libp2p should support configuring/tagging specific peers/multiaddrs as priority connections. The goal here is to have connections that the Connection Manager does not kill,...
In the discovery mechanism example Part 3 Pubsub based Peer Discovery is a problem. https://github.com/libp2p/js-libp2p/tree/master/examples/discovery-mechanisms#3-pubsub-based-peer-discovery If i run the 3.js i can not discover other peers. Here is my output:...
- **Version**: 0.31.0 - **Platform**: Firefox 88.0 on Linux 5.10.32-1-MANJARO #1 SMP Wed Apr 21 14:54:10 UTC 2021 x86_64 GNU/Linux - **Subsystem**: [email protected]/[email protected] #### Severity: High #### Description: 1. Start...
The `getClosestPeers` function in `peer-routing.js` returns more than K nodes when using the kad dht module. The reason for this is that the `getClosestPeers` function in the kad-dht module yields...