-
Notifications
You must be signed in to change notification settings - Fork 223
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
go-libp2p-kad-dht version 2 #864
Commits on Aug 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7d18e89 - Browse repository at this point
Copy the full SHA 7d18e89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bec109 - Browse repository at this point
Copy the full SHA 5bec109View commit details -
Configuration menu - View commit details
-
Copy full SHA for 311f0d3 - Browse repository at this point
Copy the full SHA 311f0d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfe3a81 - Browse repository at this point
Copy the full SHA dfe3a81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57c4988 - Browse repository at this point
Copy the full SHA 57c4988View commit details -
Configuration menu - View commit details
-
Copy full SHA for 984f28e - Browse repository at this point
Copy the full SHA 984f28eView commit details
Commits on Aug 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 35a977f - Browse repository at this point
Copy the full SHA 35a977fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8e5be2 - Browse repository at this point
Copy the full SHA e8e5be2View commit details
Commits on Aug 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 027c8d2 - Browse repository at this point
Copy the full SHA 027c8d2View commit details
Commits on Aug 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3171894 - Browse repository at this point
Copy the full SHA 3171894View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f8f4a7 - Browse repository at this point
Copy the full SHA 9f8f4a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cdfb34 - Browse repository at this point
Copy the full SHA 3cdfb34View commit details -
Configuration menu - View commit details
-
Copy full SHA for c584b02 - Browse repository at this point
Copy the full SHA c584b02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dfcd8b - Browse repository at this point
Copy the full SHA 4dfcd8bView commit details
Commits on Aug 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0af762c - Browse repository at this point
Copy the full SHA 0af762cView commit details
Commits on Aug 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 741843b - Browse repository at this point
Copy the full SHA 741843bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e09e95 - Browse repository at this point
Copy the full SHA 5e09e95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 619429c - Browse repository at this point
Copy the full SHA 619429cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3648184 - Browse repository at this point
Copy the full SHA 3648184View commit details -
Configuration menu - View commit details
-
Copy full SHA for 015617e - Browse repository at this point
Copy the full SHA 015617eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38c2d32 - Browse repository at this point
Copy the full SHA 38c2d32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a0e26c - Browse repository at this point
Copy the full SHA 7a0e26cView commit details
Commits on Aug 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a8a222b - Browse repository at this point
Copy the full SHA a8a222bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bdd7ec - Browse repository at this point
Copy the full SHA 6bdd7ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14c478c - Browse repository at this point
Copy the full SHA 14c478cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2643b72 - Browse repository at this point
Copy the full SHA 2643b72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 890d4ec - Browse repository at this point
Copy the full SHA 890d4ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdac291 - Browse repository at this point
Copy the full SHA bdac291View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50f8d00 - Browse repository at this point
Copy the full SHA 50f8d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a30d89 - Browse repository at this point
Copy the full SHA 5a30d89View commit details
Commits on Aug 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4660bbc - Browse repository at this point
Copy the full SHA 4660bbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f88f20 - Browse repository at this point
Copy the full SHA 9f88f20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9559064 - Browse repository at this point
Copy the full SHA 9559064View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4418cfb - Browse repository at this point
Copy the full SHA 4418cfbView commit details
Commits on Aug 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1cbb419 - Browse repository at this point
Copy the full SHA 1cbb419View commit details
Commits on Aug 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 57c5df3 - Browse repository at this point
Copy the full SHA 57c5df3View commit details
Commits on Sep 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 99dbdc6 - Browse repository at this point
Copy the full SHA 99dbdc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f16d79e - Browse repository at this point
Copy the full SHA f16d79eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2610f89 - Browse repository at this point
Copy the full SHA 2610f89View commit details
Commits on Sep 7, 2023
-
Integrate Zikade/go-kademlia in v2 (#880)
* WIP * revise protobuf * remove gogo protobuf dependency * WIP * add kadt package * Add routing test * add custom zikade dependency * Import zikade code * Remove generics from zikade imported code * Update to latest go-kademlia * Cleanup naming of events * Minor naming cleanup * Change maintainers for v2 while being developed * remove Zikade dependency * Consolidate type parameters * Change config test structure * use opentelemetry * use convenience attribute methods * let coord package use tele * fix golint warnings * use clock.Clock * add telemetry context tests * Improve telemetry documentation * fix test race * fix garbage collection race * Add AddAddresses method to DHT (#879) * Add AddAddresses method to DHT * Add AddAddresses method to DHT * go mod tidy * Rename Query Skip errors * go fmt coordinator.go * Fix test flakes * Fix lint errors --------- Co-authored-by: Ian Davis <18375+iand@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 54f20b5 - Browse repository at this point
Copy the full SHA 54f20b5View commit details
Commits on Sep 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 722e958 - Browse repository at this point
Copy the full SHA 722e958View commit details -
Merge pull request #885 from libp2p/v2-ctx-short
Simplify usage of kadtest.CtxShort
Configuration menu - View commit details
-
Copy full SHA for add1d60 - Browse repository at this point
Copy the full SHA add1d60View commit details
Commits on Sep 11, 2023
-
Give dht and coordinator their own telemetry instances (#891)
* Give dht and coordinator their own telemetry instances * Fix some references to old code
Configuration menu - View commit details
-
Copy full SHA for 7d838c5 - Browse repository at this point
Copy the full SHA 7d838c5View commit details
Commits on Sep 13, 2023
-
Migrate go-kademlia state machines (#893)
* Migrate go-kademlia state machines * Clean up naming of events * Add Node generic parameter * Remove unused helpers * Remove unused fields * Add peer addresses to peerstore * go fmt * Remove some more usages of NodeID fields and args * Replace usage of key.Key256 by kadt.Key * Use kadt.PeerID rather than peer.ID in many places * Remove CloserNodeIDs
Configuration menu - View commit details
-
Copy full SHA for 77dbff0 - Browse repository at this point
Copy the full SHA 77dbff0View commit details
Commits on Sep 16, 2023
-
v2: upgrade build to include go1.21 (#890)
* v2: upgrade to go1.21 * Add uci config * Use newer uci actions * Use v2 working directory in actions * Set go-version input in actions * Set go-version input in actions * Use go 1.20.8 in actions * Use go 1.21.1 and relative working directory * Try default working directory on job * Remove uci.yaml which is not supported yet * Try default working directory on job * Try default working directory as input * Restore uci.yaml * Restore uci.yaml * Use modified go-check * Use modified go-test * Fix go-test * Fix go-test * Fix go-test * Restore libp2p 0.30.0 * go mod tidy * Remove nil error return from DefaultConfig * use mock clock for IPNS record generation (#894) * Use MapDatastore for provider backend tests instead of leveldb (#896) * revert some merge residuals * style: minor coding clean up (#898) * remove superfluous type conversion * add tiny example test * unexport type conversion helpers * Target go language version 1.20 and add 1.20.8 to build matrix * Target go language version 1.20 and add 1.20.8 to build matrix * WIP --------- Co-authored-by: Dennis Trautwein <git@dtrautwein.eu>
Configuration menu - View commit details
-
Copy full SHA for 97e4e02 - Browse repository at this point
Copy the full SHA 97e4e02View commit details
Commits on Sep 18, 2023
-
Test query interactions with routing table (#887)
* Test query interactions with routing table * v2: upgrade to go1.21 * Add uci config * Use newer uci actions * Pass clock to coordinator * Use v2 working directory in actions * Set go-version input in actions * Set go-version input in actions * Use go 1.20.8 in actions * Use go 1.21.1 and relative working directory * Try default working directory on job * Remove uci.yaml which is not supported yet * Try default working directory on job * Try default working directory as input * Restore uci.yaml * Restore uci.yaml * Use modified go-check * Use modified go-test * Fix go-test * Fix go-test * Fix go-test * Update go-kademlia * Add more tracing * Use go-kademlia trie fix
Configuration menu - View commit details
-
Copy full SHA for 1d35505 - Browse repository at this point
Copy the full SHA 1d35505View commit details -
remove jaeger dependency (#900)
This PR changes tracing to use the OpenTelemetry protocol which is also recommended by Jaeger. [`go.opentelemetry.io/otel/exporters/jaeger`](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/jaeger): > Deprecated: This module is no longer supported. OpenTelemetry dropped support for Jaeger exporter in July 2023. Jaeger officially accepts and recommends using OTLP. Use [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp) or [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc) instead. Works with the following docker command: ```go docker run --rm --name jaeger -p 16686:16686 -p 4317:4317 jaegertracing/all-in-one:1.49 ``` Note that `jaegertracing/all-in-one` version `1.49` is **newer** than version `1.6` which we often used in the past (5 years old).
Configuration menu - View commit details
-
Copy full SHA for 3723b8a - Browse repository at this point
Copy the full SHA 3723b8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 156aab2 - Browse repository at this point
Copy the full SHA 156aab2View commit details
Commits on Sep 19, 2023
-
Decouple coord package from addressing (#903)
* Decouple coord package from addressing * Go fmt * fix: garbage collection test race condition (#904) Moved ticker initialization outside the garbage collection goroutine. There was a race condition between advancing the mocked time in TestProvidersBackend_GarbageCollection and the initialization of the ticker that triggers the garbage collection runs. It happened that we were advancing the time without the ticker being initialized. Hence, advancing the time hasn't had any effect. In this PR, I moved the ticker initialization outside the garbage collection goroutine. This means the ticker will be registered with the MockClock object after StartGarbageCollection returns. Calls to mockClock.Add will therefore trigger the ticker. * Fix test flakes that wait for routing events (#905) * Increase test iterations to trigger flake * Add failfast * Replace routing notification channel with a RoutingNotifier type * Remove unused code * Remove test count --------- Co-authored-by: Dennis Trautwein <git@dtrautwein.eu>
Configuration menu - View commit details
-
Copy full SHA for 1220ddd - Browse repository at this point
Copy the full SHA 1220dddView commit details -
Configuration menu - View commit details
-
Copy full SHA for e86381e - Browse repository at this point
Copy the full SHA e86381eView commit details -
Clean up DHT test helpers (#928)
* Implement GetValue * Add failing TestGetValueOnePeer test * Unexport methods
Configuration menu - View commit details
-
Copy full SHA for 83329a4 - Browse repository at this point
Copy the full SHA 83329a4View commit details
Commits on Sep 21, 2023
-
Improve query capabilities (#932)
* Improve query capabilities * go mod tidy * Review feedback * go mod tidy * Move coord packages to internal (#933) * Move coord and kadt packages to internal * go mod tidy * go fmt * Move kadt out of internal and add RoutingTable interface
Configuration menu - View commit details
-
Copy full SHA for 2da54ab - Browse repository at this point
Copy the full SHA 2da54abView commit details
Commits on Sep 22, 2023
-
Add broadcast state machine for storing records in the DHT (#930)
Co-authored-by: Ian Davis <18375+iand@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 74ffa67 - Browse repository at this point
Copy the full SHA 74ffa67View commit details
Commits on Sep 25, 2023
-
Add explore state machine to expand population of routing table (#934)
* Improve query capabilities * go mod tidy * Review feedback * go mod tidy * Move coord packages to internal (#933) * Move coord and kadt packages to internal * go mod tidy * go fmt * Move kadt out of internal and add RoutingTable interface * Add explore state machine to expand population of routing table * Refactor schedule into separate type * Add generation of random peer id for a given cpl * go mod tidy * Add prefixmap generator * Use constants for various query ids * go mod tidy * Wire explore state machine into routing behaviour * Remove some unnecessary conversions * PR review updates
Configuration menu - View commit details
-
Copy full SHA for ae5a094 - Browse repository at this point
Copy the full SHA ae5a094View commit details -
Expose behaviour and state machine configs (#937)
* Expose behaviour and state machine configs * Adjust test * Revert adjust test
Configuration menu - View commit details
-
Copy full SHA for 09dd7b0 - Browse repository at this point
Copy the full SHA 09dd7b0View commit details
Commits on Sep 26, 2023
-
feat: findProvidersAsync (#938)
* feat: findProvidersAsync * add: find providers tests * add config tests
Configuration menu - View commit details
-
Copy full SHA for dd5e537 - Browse repository at this point
Copy the full SHA dd5e537View commit details
Commits on Sep 27, 2023
-
Add metrics to routing state machines (#939)
* Add metrics to routing state machines * Simplify use of gauges with atomics
Configuration menu - View commit details
-
Copy full SHA for dedca86 - Browse repository at this point
Copy the full SHA dedca86View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b1034 - Browse repository at this point
Copy the full SHA e4b1034View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fa560f - Browse repository at this point
Copy the full SHA 4fa560fView commit details
Commits on Sep 28, 2023
-
* Loggiing improvements * Add more debug logging * Add more debug logging * Use logging helpers
Configuration menu - View commit details
-
Copy full SHA for 6a4249c - Browse repository at this point
Copy the full SHA 6a4249cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03adce6 - Browse repository at this point
Copy the full SHA 03adce6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90d748b - Browse repository at this point
Copy the full SHA 90d748bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e628c0 - Browse repository at this point
Copy the full SHA 0e628c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 509eee4 - Browse repository at this point
Copy the full SHA 509eee4View commit details
Commits on Sep 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1d1fe93 - Browse repository at this point
Copy the full SHA 1d1fe93View commit details