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

Split go-ipfs/routing/kbucket into go-libp2p-kbucket #1

Merged
merged 78 commits into from
Aug 31, 2016

Commits on Aug 9, 2014

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

Commits on Aug 10, 2014

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

Commits on Aug 11, 2014

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

Commits on Aug 12, 2014

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

Commits on Aug 21, 2014

  1. POut should not have a newline

    jbenet committed Aug 21, 2014
    Configuration menu
    Copy the full SHA
    8c87962 View commit details
    Browse the repository at this point in the history
  2. Made the DHT module pass golint

    cleichner authored and jbenet committed Aug 21, 2014
    Configuration menu
    Copy the full SHA
    5244bf9 View commit details
    Browse the repository at this point in the history
  3. Made routing code pass golint.

    cleichner authored and jbenet committed Aug 21, 2014
    Configuration menu
    Copy the full SHA
    751f985 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2014

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

Commits on Sep 22, 2014

  1. moved keyspace

    jbenet authored and Brian Tiger Chow committed Sep 22, 2014
    Configuration menu
    Copy the full SHA
    7550fd1 View commit details
    Browse the repository at this point in the history
  2. kbucket use new keyspace

    jbenet authored and Brian Tiger Chow committed Sep 22, 2014
    Configuration menu
    Copy the full SHA
    955487f View commit details
    Browse the repository at this point in the history
  3. refactored keyspace Adjusted -> Bytes

    jbenet authored and Brian Tiger Chow committed Sep 22, 2014
    Configuration menu
    Copy the full SHA
    a35399e View commit details
    Browse the repository at this point in the history
  4. refactored keyspace Adjusted -> Bytes

    jbenet authored and Brian Tiger Chow committed Sep 22, 2014
    Configuration menu
    Copy the full SHA
    c498a1d View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2014

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

Commits on Oct 8, 2014

  1. changed logging, in dht and elsewhere

    - use log.* instead of u.*
    - use automatic type conversions to .String()
      (Peer.String() prints nicely, and avoids calling b58 encoding
      until needed)
    jbenet committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    aea8c8b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e9aa6d View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2014

  1. u.DOut -> log.Debug

    and other logging switches. I kept the u.PErr and u.POut in cli
    commands, as those do need to write raw output directly.
    jbenet committed Oct 9, 2014
    Configuration menu
    Copy the full SHA
    4935b4c View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2014

  1. moved XOR keyspace -> util

    jbenet committed Oct 19, 2014
    Configuration menu
    Copy the full SHA
    346c167 View commit details
    Browse the repository at this point in the history
  2. keyspace XOR naming

    jbenet committed Oct 19, 2014
    Configuration menu
    Copy the full SHA
    4cb779a View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2014

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

Commits on Oct 22, 2014

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

Commits on Oct 25, 2014

  1. Configuration menu
    Copy the full SHA
    6344102 View commit details
    Browse the repository at this point in the history
  2. go-vet friendly codebase

    - distinguish log.Error and log.Errorf functions
    - Initialize structs with field names
    - A bit of unreachable code (defers)
    jbenet committed Oct 25, 2014
    Configuration menu
    Copy the full SHA
    e50b5e7 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2014

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

Commits on Nov 9, 2014

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

Commits on Dec 23, 2014

  1. peer change: peer.Peer -> peer.ID

    this is a major refactor of the entire codebase
    it changes the monolithic peer.Peer into using
    a peer.ID and a peer.Peerstore.
    
    Other changes:
    - removed handshake3.
    -	testutil vastly simplified peer
    -	secio bugfix + debugging logs
    -	testutil: RandKeyPair
    -	backpressure bugfix: w.o.w.
    -	peer: added hex enc/dec
    -	peer: added a PeerInfo struct
      PeerInfo is a small struct used to pass around a peer with
     	a set of addresses and keys. This is not meant to be a
     	complete view of the system, but rather to model updates to
     	the peerstore. It is used by things like the routing system.
    -	updated peer/queue + peerset
    -	latency metrics
    -	testutil: use crand for PeerID gen
     	RandPeerID generates random "valid" peer IDs. it does not
     	NEED to generate keys because it is as if we lost the key
     	right away. fine to read some randomness and hash it. to
     	generate proper keys and an ID, use:
     	  sk, pk, _ := testutil.RandKeyPair()
     	  id, _ := peer.IDFromPublicKey(pk)
     	Also added RandPeerIDFatal helper
    - removed old spipe
    - updated seccat
    - core: cleanup initIdentity
    - removed old getFromPeerList
    jbenet committed Dec 23, 2014
    Configuration menu
    Copy the full SHA
    140df99 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2014

  1. dht bugfix: unlock on print

    jbenet committed Dec 24, 2014
    Configuration menu
    Copy the full SHA
    8bdc248 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53d644e View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2015

  1. rewrite of provides to better select peers to send RPCs to

    refactor test peer creation to be deterministic and reliable
    
    a bit of cleanup trying to figure out TestGetFailure
    
    add test to verify deterministic peer creation
    
    switch put RPC over to use getClosestPeers
    
    rm 0xDEADC0DE
    
    fix queries not searching peer if its not actually closer
    whyrusleeping committed Jan 2, 2015
    Configuration menu
    Copy the full SHA
    af02bba View commit details
    Browse the repository at this point in the history
  2. introducing p2p pkg

    I think it's time to move a lot of the peer-to-peer networking
    but-not-ipfs-specific things into its own package: p2p.
    This could in the future be split off into its own library.
    The first thing to go is the peer.
    jbenet committed Jan 2, 2015
    Configuration menu
    Copy the full SHA
    e26510c View commit details
    Browse the repository at this point in the history
  3. crypto -> p2p/crypto

    The crypto package moves into p2p. Nothing in it so far is ipfs
    specific; everything is p2p-general.
    jbenet committed Jan 2, 2015
    Configuration menu
    Copy the full SHA
    fde200d View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2015

  1. Configuration menu
    Copy the full SHA
    76b4cb5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b819b92 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #640 from jbenet/races

    more races 2015-01-24
    jbenet committed Jan 24, 2015
    Configuration menu
    Copy the full SHA
    f4dde7a View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2015

  1. dropped down log.Errors

    jbenet committed Jan 27, 2015
    Configuration menu
    Copy the full SHA
    c0f7104 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2015

  1. kbucket: fix data race

    jbenet committed Feb 5, 2015
    Configuration menu
    Copy the full SHA
    b2a3efb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1c198d View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2015

  1. fixed dht kbucket race

    closes #836
    jbenet committed Mar 4, 2015
    Configuration menu
    Copy the full SHA
    3f346ee View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2015

  1. Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs

    - Modified Godeps/Godeps.json by hand
    - [TEST] Updated welcome docs hash to sharness
    - [TEST] Updated contact doc
    - [TEST] disabled breaking test (t0080-repo refs local)
    hosh authored and jbenet committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    ea04d1b View commit details
    Browse the repository at this point in the history
  2. Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs

    - Modified Godeps/Godeps.json by hand
    - [TEST] Updated welcome docs hash to sharness
    - [TEST] Updated contact doc
    - [TEST] disabled breaking test (t0080-repo refs local)
    hosh authored and jbenet committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    b0e10cb View commit details
    Browse the repository at this point in the history

Commits on May 18, 2015

  1. Run 'gofmt -s -w' on these files

    rht committed May 18, 2015
    Configuration menu
    Copy the full SHA
    191c1d3 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2015

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

Commits on Sep 15, 2015

  1. extract logging

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Sep 15, 2015
    Configuration menu
    Copy the full SHA
    31cda68 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2015

  1. replace imports with absolute path instead of using symlink

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Oct 3, 2015
    Configuration menu
    Copy the full SHA
    ef7bd25 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2015

  1. update code to use new logging changes

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Oct 27, 2015
    Configuration menu
    Copy the full SHA
    59943a9 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2015

  1. vendor logging lib update

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Nov 5, 2015
    Configuration menu
    Copy the full SHA
    5dfacc8 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2016

  1. if bucket doesnt have enough peers, grab more elsewhere

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Jan 12, 2016
    Configuration menu
    Copy the full SHA
    2fa2f79 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2016

  1. initial vendoring of libp2p outside of the repo with gx

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Jan 30, 2016
    Configuration menu
    Copy the full SHA
    ddb5ee6 View commit details
    Browse the repository at this point in the history
  2. go-keyspace dep from libp2p added

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Jan 30, 2016
    Configuration menu
    Copy the full SHA
    e659727 View commit details
    Browse the repository at this point in the history
  3. correct go-log dep

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Jan 30, 2016
    Configuration menu
    Copy the full SHA
    d4c73fe View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2016

  1. update libp2p dep

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Jan 31, 2016
    Configuration menu
    Copy the full SHA
    3d1458c View commit details
    Browse the repository at this point in the history
  2. do that last thing again

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Jan 31, 2016
    Configuration menu
    Copy the full SHA
    8ac6e9e View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2016

  1. Use gx vendored go-ipfs-utils where possible

    For the rest of the packages in util, move them to thirdparty
    and update the references. util is gone!
    
    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Feb 13, 2016
    Configuration menu
    Copy the full SHA
    b7759d6 View commit details
    Browse the repository at this point in the history
  2. Use gx vendored go-ipfs-utils where possible

    For the rest of the packages in util, move them to thirdparty
    and update the references. util is gone!
    
    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Feb 13, 2016
    Configuration menu
    Copy the full SHA
    86ad96b View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2016

  1. update libp2p dep

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Mar 9, 2016
    Configuration menu
    Copy the full SHA
    901bcb3 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2016

  1. update utp and cleanup more godeps along the way

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    bcde6c4 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2016

  1. switch to new libp2p with mss crypto

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Apr 7, 2016
    Configuration menu
    Copy the full SHA
    f6916df View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2016

  1. update libp2p dep to fix hanging listeners problem

    License: MIT
    Signed-off-by: Jeromy <jeromyj@gmail.com>
    whyrusleeping committed Apr 11, 2016
    Configuration menu
    Copy the full SHA
    3466d43 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2016

  1. Update go-libp2p

    License: MIT
    Signed-off-by: Lars Gierth <larsg@systemli.org>
    Lars Gierth committed Apr 17, 2016
    Configuration menu
    Copy the full SHA
    5ef5c7c View commit details
    Browse the repository at this point in the history
  2. Use extracted go-libp2p-crypto, -secio, -peer packages

    License: MIT
    Signed-off-by: Lars Gierth <larsg@systemli.org>
    Lars Gierth committed Apr 17, 2016
    Configuration menu
    Copy the full SHA
    155efe2 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2016

  1. Update go-log to 1.1.0 and fix calls to go-log.Uuid

    License: MIT
    Signed-off-by: Hector Sanjuan <code@hector.link>
    hsanjuan committed May 4, 2016
    Configuration menu
    Copy the full SHA
    9ce09df View commit details
    Browse the repository at this point in the history

Commits on May 10, 2016

  1. update libp2p with go-multiaddr and go-stream-muxer updates

    License: MIT
    Signed-off-by: Jeromy <why@ipfs.io>
    whyrusleeping committed May 10, 2016
    Configuration menu
    Copy the full SHA
    1f80f59 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2016

  1. update go-libp2p 3.2.2, nil maddr fixes

    License: MIT
    Signed-off-by: Jeromy <why@ipfs.io>
    whyrusleeping committed May 17, 2016
    Configuration menu
    Copy the full SHA
    9c04bb9 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2016

  1. update libp2p to v3.3.1

    License: MIT
    Signed-off-by: Jeromy <why@ipfs.io>
    whyrusleeping committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    13a2c03 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2016

  1. Update go-log

    ipfs/go-log#3
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    Kubuxu committed Jun 9, 2016
    Configuration menu
    Copy the full SHA
    b26439a View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2016

  1. pull in libp2p updates with utp fixes

    License: MIT
    Signed-off-by: Jeromy <why@ipfs.io>
    whyrusleeping committed Jun 11, 2016
    Configuration menu
    Copy the full SHA
    0ee12a2 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2016

  1. a few small changes to make the dht more efficient

    License: MIT
    Signed-off-by: Jeromy <why@ipfs.io>
    whyrusleeping committed Jun 12, 2016
    Configuration menu
    Copy the full SHA
    b7641d6 View commit details
    Browse the repository at this point in the history
  2. sort peers outside of locks

    License: MIT
    Signed-off-by: Jeromy <why@ipfs.io>
    whyrusleeping committed Jun 12, 2016
    Configuration menu
    Copy the full SHA
    9ad0b6c View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2016

  1. Update go-log in whole dependency tree (#2898)

    * Update golog in go-ipfs
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    
    * Update go-libp2p for go-log
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    
    * Update go-libp2p-secio for go-log
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    
    * Update go-libp2p-crypto for go-log
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    
    * Update go-libp2p-peer for go-log
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    
    * Import peersore, it wasn't imported
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    
    * Update peerstore
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    
    * Update peer
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    
    * Update secio
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    
    * Update go-libp2p
    
    License: MIT
    Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
    Kubuxu authored and whyrusleeping committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    163ddd5 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2016

  1. Add docs

    geoah committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    9c00a96 View commit details
    Browse the repository at this point in the history
  2. Undo gx rewrites

    geoah committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    138396b View commit details
    Browse the repository at this point in the history
  3. Add travis-ci

    geoah committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    826baf2 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2016

  1. Add 'keyspace/' from commit '86ad96b45f5a4eef61a64e96269fa6af3e49d657'

    git-subtree-dir: keyspace
    git-subtree-mainline: 826baf2
    git-subtree-split: 86ad96b
    geoah committed Aug 26, 2016
    Configuration menu
    Copy the full SHA
    314c3cb View commit details
    Browse the repository at this point in the history
  2. Undo gx rewrites

    geoah committed Aug 26, 2016
    Configuration menu
    Copy the full SHA
    5add21a View commit details
    Browse the repository at this point in the history
  3. Fix docs

    geoah committed Aug 26, 2016
    Configuration menu
    Copy the full SHA
    9055fe3 View commit details
    Browse the repository at this point in the history
  4. Fix ks package

    geoah committed Aug 26, 2016
    Configuration menu
    Copy the full SHA
    6d2cddd View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2016

  1. Use latest gx versions

    geoah committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    9968b7d View commit details
    Browse the repository at this point in the history
  2. Publish gx v1.0.0

    geoah committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    d401aca View commit details
    Browse the repository at this point in the history
  3. Move to go 1.7

    geoah committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    e8919b2 View commit details
    Browse the repository at this point in the history