Comments (3)
Hi @AlexFreeland, got an update for you :) Check:
https://github.com/libp2p/js-libp2p/tree/master/examples/peer-and-content-routing
Note, consider the current implementation as ⍺
:)
from js-libp2p.
Hi @AlexFreeland, thank you for your feedback, it is highly appreciated
We know it is a little confusing at the moment, but there is a key reason for it. The simple answer is, the DHT present in go-ipfs, will be available in JavaScript at https://github.com/libp2p/js-libp2p-dht and that is going to be the 'first DHT'.
The 'second DHT', comes from the separation of concerns of Peer Routing and Content Routing, the explanation (and the realization) and can be found described here: ipfs/specs#1
libp2p spec presents some design decisions (https://github.com/libp2p/specs), getting the spec up to date is one of the goals of Q1 this year :)
from js-libp2p.
Thanks for the response @diasdavid
So to clarify: the "second DHT" will entail separate peer and content routing modules, somewhat analogous to the division of responsibilities between https://github.com/libp2p/js-libp2p-kad-routing and https://github.com/libp2p/js-libp2p-kad-record-store? Is the intention to update or supersede these repositories?
On a related note: I notice that implementations of the first DHT use the "/ipfs/kad/1.0.0" (and historically "/ipfs/dht") protocol; am I correct in assuming that the second DHT will employ separate protocols for peer and content routing?
from js-libp2p.
Related Issues (20)
- Keychain depends on IPFS
- PubSub Not Working on Relayed Connections without Relay Subscription in [email protected] HOT 3
- bug: The wrong multiaddr causes the program to enter a dead loop
- Splitted Data When Transmission Data Length Exceeding Send Window Limitation HOT 3
- Configuration for a working setup with VSCODE
- Dial queue timeout for multiple multiaddresses incorrectly used for each connection separately HOT 6
- `notifyOnTransient` also ignore disconnection events?
- @libp2p/webtransport Correct multiaddr format HOT 4
- Restarting a node quickly and connecting will not emit `onConnect`events in registrar HOT 2
- dht: kadDHT() causes TypeError: Cannot destructure property 'kBucketSize' of 'init' as it is undefined HOT 4
- Example returns empty object. HOT 4
- Unhandled error: ERR_SDP_HANDSHAKE_ABORTED HOT 2
- Make identify-push autodial smarter
- Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in \node_modules\libp2p\package.json HOT 1
- Docs for `peer-record` are referencing PR i.s.o RFC
- Circuit relay drops connection after minute. HOT 1
- Add documentation for crypto.supportedKeys HOT 1
- AutoDial retries creeps up CPU usage over time
- TypeScript compilation errors within @libp2p/interface/src/event-target.ts
- 30+ Broken links in readme. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-libp2p.