Skip to content
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

Proposed DHTv2 Changes #473

Merged
merged 61 commits into from
Apr 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
57a12ce
upgrade deprecated query events
aschmahmann Dec 27, 2019
6793dc1
first pass at proper kad
aschmahmann Jan 17, 2020
564764f
fix Search/GetValue to be Kad compliant. Default quorum is now 0 whic…
aschmahmann Jan 21, 2020
616b0e1
fix refreshing buckets during query. getting topK peers is more effic…
aschmahmann Jan 21, 2020
4aee8bb
Search/GetValues stops if using quorum
aschmahmann Jan 21, 2020
6dac71c
error on queries to empty routing table
aschmahmann Jan 22, 2020
85f88e1
query switches from alpha mode to k mode if no peers closer than one …
aschmahmann Jan 30, 2020
c7a8d0d
SearchValue will only update k closest peers to have latest record
aschmahmann Jan 30, 2020
cfb4b40
added todo comment about FindPeer and peer connectedness
aschmahmann Jan 30, 2020
19e4d2e
fix: use dht.bucketSize instead of KValue for queries
aschmahmann Feb 2, 2020
11776e0
test: switch tests to use dht.bucketSize instead of KValue for queries
aschmahmann Feb 2, 2020
e967aca
options: KValue and AlphaValue global variables no longer used intern…
aschmahmann Feb 2, 2020
dd0bbb2
try another peer sorting metric. fix bug in when findproviders returns
aschmahmann Feb 4, 2020
4c2cf46
check for stopping the query in between dialing and querying
aschmahmann Feb 4, 2020
41f47f7
cleanup unused code
aschmahmann Feb 19, 2020
509c0bc
Utilize identify events to add peers to the routing table (#472)
aschmahmann Mar 4, 2020
1de9b90
fix: improve context deadline handling
Stebalien Mar 5, 2020
acd3bba
fix: actually ignore deadline exceeded errors in Provide (#480)
Stebalien Mar 6, 2020
052ac59
made deprecated util values have comments that satisfy golint
aschmahmann Mar 5, 2020
d4134a4
Enable switching DHT between client and server modes (#469)
aschmahmann Mar 6, 2020
30fa086
feat: move options to main package and make internals private (#486)
Stebalien Mar 9, 2020
07dff1f
Upgrade DHT version (#479)
aschmahmann Mar 10, 2020
c17965f
RT connectivity changes
aarshkshah1992 Mar 6, 2020
229cacc
Cypress Disjoint Query & Query Termination code cleanup (#489)
aarshkshah1992 Mar 11, 2020
169395b
change tests
aarshkshah1992 Mar 16, 2020
8715e2d
document test failure
aarshkshah1992 Mar 17, 2020
5c71aa9
fix(test): increase timeout for notification tests since it's slow on…
aschmahmann Mar 20, 2020
5358a4f
fix: protect rng with a mutex
aschmahmann Mar 20, 2020
ac9f033
cleanup: documentation and code cleanup for search/getvalue quorum de…
aschmahmann Mar 20, 2020
9b5a0e6
feat: calling FindProvidersAsync with a count of zero now completes t…
aschmahmann Mar 20, 2020
050c4b8
change peer validation func
aarshkshah1992 Mar 19, 2020
e1ed825
fix validation
aarshkshah1992 Mar 19, 2020
cbeb73d
queries can take longer
aarshkshah1992 Mar 20, 2020
94cf481
Asynchronous lookups (#498)
aschmahmann Mar 24, 2020
c60ea62
build(deps): bump go-libp2p and kbucket repos
aschmahmann Mar 20, 2020
94cf3e5
Remove disjoint queries (#503)
aarshkshah1992 Mar 26, 2020
7c8f404
fix(test): TestFindPeerQuery and TestFindPeerQueryMinimal now refresh…
aschmahmann Mar 26, 2020
fa52ddd
chore: run with race detector enabled and disabled
Stebalien Mar 26, 2020
0543571
Configurable Peer Filtering (#471)
aschmahmann Apr 1, 2020
29bc71a
bump the peerstore version
aarshkshah1992 Apr 1, 2020
fad6c8a
feat: reduce request read timeout (#527)
Stebalien Apr 1, 2020
5a41195
Emit events during async query. (#504)
petar Apr 2, 2020
39990c0
fix: cleanup context cancellations (#530)
aschmahmann Apr 2, 2020
d0770d2
feat: return target peer if we know about them (#511)
Stebalien Apr 2, 2020
8fa0438
New RT management policy (#520)
aarshkshah1992 Apr 2, 2020
d715495
spawn the correct number of simultaneous queries
aschmahmann Apr 3, 2020
2539114
Periodic Pinging and active fixLowPeers (#533)
aarshkshah1992 Apr 3, 2020
6a36698
Record valuable peers will only take into account latency of seed pee…
aschmahmann Apr 3, 2020
485c60a
chore: update deps
Stebalien Apr 3, 2020
a4eaa70
refreshing the routing table after the dht context is cancelled retur…
aschmahmann Apr 3, 2020
5aad954
chore: fix lints
Stebalien Apr 3, 2020
445472b
feat: better logging
Stebalien Apr 3, 2020
dfea791
ci: use IPFS circle configs
Stebalien Apr 3, 2020
d520a1e
fix(test): don't panic on read/write error
Stebalien Apr 3, 2020
deee8b7
chore(ci): remove travis
Stebalien Apr 3, 2020
5e318d3
remove deprecated global variables
aschmahmann Apr 5, 2020
6f1df26
use dht context during refreshes so that they can be logged
aschmahmann Apr 3, 2020
9bab969
feat: add a v1 compatibility mode
Stebalien Apr 3, 2020
8af12dd
chore: remove unused testProtocols
Stebalien Apr 5, 2020
7035c59
chore: update kbucket
Stebalien Apr 6, 2020
a7fd35f
test: fix TestFindPeerQuery and TestFindPeerQueryMinimal to not try a…
aschmahmann Apr 6, 2020
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
24 changes: 14 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.12
environment:
GO111MODULE: "on"
steps:
- checkout
- run: go test -v -race -bench . ./...
version: 2.1
orbs:
ci-go: ipfs/ci-go@0.2.9

workflows:
version: 2
test:
jobs:
- ci-go/build
- ci-go/lint
- ci-go/test
- ci-go/test:
race: true
name: "ci-go/test/race"
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

Loading