-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: examples/peer-and-content-routing #500
refactor: examples/peer-and-content-routing #500
Conversation
a01363b
to
aa87ade
Compare
374ceb4
to
45f4702
Compare
aa87ade
to
12cc970
Compare
dht: { | ||
// dht must be enabled | ||
enabled: true, | ||
kBucketSize: 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't use kBucketSize
in the code, we should probably just leave it out here. Most users won't need to change the default.
|
||
console.log('Node %s is providing %s', node1.peerInfo.id.toB58String(), cid.toBaseEncodedString()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this removed intentionally? If so, it should also be removed from the readme. Can you make sure the code in the readme matches what's in the js files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it back, I removed unintentionally
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* refactor: examples-peer-and-content-routing * chore: address review * chore: review suggestions Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
This PR refactors the
peer-and-content-routing
example to the refactored asyncjs-libp2p
.Needs: