Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

refactor: disable DHT #1982

Merged
merged 3 commits into from
Apr 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/core/runtime/libp2p-nodejs.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ class Node extends libp2p {
},
dht: {
kBucketSize: 20,
enabled: true,
enabled: false,
randomWalk: {
enabled: true
enabled: false
}
},
EXPERIMENTAL: {
Expand Down
8 changes: 6 additions & 2 deletions test/core/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,15 @@ describe('interface-ipfs-core tests', function () {
skip: [
{
name: 'should resolve an IPNS DNS link',
reason: 'TODO IPNS not implemented yet'
reason: 'TODO: IPNS resolve not yet implemented https://github.com/ipfs/js-ipfs/issues/1918'
},
{
name: 'should resolve IPNS link recursively',
reason: 'TODO IPNS not implemented yet'
reason: 'TODO: IPNS resolve not yet implemented https://github.com/ipfs/js-ipfs/issues/1918'
},
{
name: 'should recursively resolve ipfs.io',
reason: 'TODO: ipfs.io dnslink=/ipns/website.ipfs.io & IPNS resolve not yet implemented https://github.com/ipfs/js-ipfs/issues/1918'
}
]
})
Expand Down
8 changes: 6 additions & 2 deletions test/http-api/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,15 @@ describe('interface-ipfs-core over ipfs-http-client tests', () => {
skip: [
{
name: 'should resolve an IPNS DNS link',
reason: 'TODO IPNS not implemented yet'
reason: 'TODO: IPNS resolve not yet implemented https://github.com/ipfs/js-ipfs/issues/1918'
},
{
name: 'should resolve IPNS link recursively',
reason: 'TODO IPNS not implemented yet'
reason: 'TODO: IPNS resolve not yet implemented https://github.com/ipfs/js-ipfs/issues/1918'
},
{
name: 'should recursively resolve ipfs.io',
reason: 'TODO: ipfs.io dnslink=/ipns/website.ipfs.io & IPNS resolve not yet implemented https://github.com/ipfs/js-ipfs/issues/1918'
}
]
})
Expand Down