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

Feat/dht persist seed #382

Closed

Commits on Apr 8, 2019

  1. Configuration menu
    Copy the full SHA
    60a62b9 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2019

  1. wip.

    raulk committed May 30, 2019
    Configuration menu
    Copy the full SHA
    4bb1ee9 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2019

  1. gx publish 4.4.34

    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    50add9d View commit details
    Browse the repository at this point in the history
  2. GoModules: Checksum mismatch:

    ```
    verifying github.com/ipfs/go-datastore@v0.0.1/go.mod: checksum mismatch
            downloaded: h1:bYmHO9fuKO1Ca7dpdDBWQl0mndy5b0HFqSJjGlNYtzs=
            go.sum:     h1:d4KVXhMt913cLBEI/PXAy6ko+W7e9AhyAKBGh803qeE=
    ```
    
    ```
    verifying github.com/ipfs/go-datastore@v0.0.1: checksum mismatch
            downloaded: h1:u3lrOIBAhGS5prBa94V89LJNMWlEsO2+zgFlEGTl0E4=
            go.sum:     h1:AW/KZCScnBWlSb5JbnEnLKFWXL224LBEh/9KXXOrUms=
    ```
    im-kulikov authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    e76bd42 View commit details
    Browse the repository at this point in the history
  3. Add go1.12 to TravisCI

    im-kulikov authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    a897931 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bbd4e52 View commit details
    Browse the repository at this point in the history
  5. go modules: tidy go.sum

    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    d39ad78 View commit details
    Browse the repository at this point in the history
  6. ci: update to go 1.12.1

    Go 1.11 has some weird go module checksum issues.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    3dd349b View commit details
    Browse the repository at this point in the history
  7. make it work in wasm

    whyrusleeping authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    a0bcf19 View commit details
    Browse the repository at this point in the history
  8. dialQueue: start the control loop later

    Don't start the control loop till we start the queue. The _in_ queue will still
    work, we just won't start processing peers from it until we start the control loop.
    
    fixes libp2p#311
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    2150884 View commit details
    Browse the repository at this point in the history
  9. gomod: update libp2p to v0.0.4

    vyzo authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    f116774 View commit details
    Browse the repository at this point in the history
  10. update readme badges

    yusefnapora authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    5dce96b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0e770a7 View commit details
    Browse the repository at this point in the history
  12. gomod: update go-libp2p

    go-libp2p-peerstore now has a TempAddrTTL of 2 minutes
    vyzo authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    1430c59 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4bd4c31 View commit details
    Browse the repository at this point in the history
  14. providers: don't load into the cache on write

    This is just extra work as we write through anyways.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    ca8376d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    75b0e7a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d33462b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    1334e7a View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    fe54a2a View commit details
    Browse the repository at this point in the history
  19. providers: use the non-locking LRU

    We only access it from a single goroutine.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    19962a0 View commit details
    Browse the repository at this point in the history
  20. providers: optimize GC

    1. Don't be n^2.
    2. Don't bother walking the cache, just drop it.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    0a5dff7 View commit details
    Browse the repository at this point in the history
  21. providers: improve test coverage

    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    87652bc View commit details
    Browse the repository at this point in the history
  22. dep: update go-datastore

    batches deletes
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    144b5c1 View commit details
    Browse the repository at this point in the history
  23. Add opencensus basic metrics (libp2p#317)

    Add initial set of metrics exposed via OpenCensus.
    lanzafame authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    e761ef1 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    7433908 View commit details
    Browse the repository at this point in the history
  25. fix(providers): gc

    Otherwise, we'll delete everything.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    036cb2b View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    9749126 View commit details
    Browse the repository at this point in the history
  27. providers: test partial GC

    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    e8ded8c View commit details
    Browse the repository at this point in the history
  28. providers: run datastore GC concurrently

    Motivation: Walking the datastore can take time and currently blocks
    adding/removing providers.
    
    We need to do this in the same goroutine to avoid some logical races.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    c22eafe View commit details
    Browse the repository at this point in the history
  29. query: fix error "leak"

    Long-running queries can build up large error sets that we never actually use.
    This is exacerbated by libp2p/go-libp2p-swarm#115.
    
    fixes libp2p/go-libp2p-swarm#119
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    4d0aa5e View commit details
    Browse the repository at this point in the history
  30. Expose metrics views in a slice (libp2p#327)

    * Expose metrics views in a slice
    
    * Rename Views to DefaultViews
    
    This communicates that these aren't the only views that are possible, or that they should be considered mandatory.
    anacrolix authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    9aedde8 View commit details
    Browse the repository at this point in the history
  31. query: fix a goroutine leak when the routing table is empty

    When the routing table is empty, `Run` would fail but _not_ close the
    process (leaking some query goroutines). This patch fixes this in multiple
    places by:
    
    1. Not starting queries with no peers.
    2. Failing queries with no peers earlier.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    d841bc2 View commit details
    Browse the repository at this point in the history
  32. fix: reduce memory used by buffered writers

    Allocate them as-needed and use a pool.
    
    Work towards libp2p#322.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    6247c2a View commit details
    Browse the repository at this point in the history
  33. dep: update go-libp2p

    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    5e82d14 View commit details
    Browse the repository at this point in the history
  34. dep: update go-libp2p

    Deal with renamed tags.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    bebd23b View commit details
    Browse the repository at this point in the history
  35. dep: update go-libp2p

    Really deal with the deleted tag issue.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    5192d82 View commit details
    Browse the repository at this point in the history
  36. drop the go-context dependency

    This was causing us to build up a bunch of background goroutines. Technically,
    we should be resetting all these streams when the DHT stops. However, we don't
    actually unregister stream handlers from the host so, really, nothing will
    actually stop till the host stops. When it does, it'll kill all the streams
    anyways.
    Stebalien authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    bc59935 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    9fbb6d7 View commit details
    Browse the repository at this point in the history
  38. Update deps to latest libp2p

    This is a -u=patch update
    hsanjuan authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    7522ede View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    32fd59c View commit details
    Browse the repository at this point in the history
  40. Add timeout

    michaelavila authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    64ccdd6 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    a72c18e View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    ac23848 View commit details
    Browse the repository at this point in the history
  43. Address review comments

    Update msgio to latest version
    Use max size in msgio readers
    Fix error handling in reads
    bigs authored and aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    068f1d5 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    67cfea2 View commit details
    Browse the repository at this point in the history
  45. update go.mod

    aarshkshah1992 committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    7fff57f View commit details
    Browse the repository at this point in the history