Skip to content

Commit

Permalink
Merge pull request BurntSushi#3 from libp2p/feat/update-deps
Browse files Browse the repository at this point in the history
Feat/update deps
  • Loading branch information
whyrusleeping authored Oct 5, 2016
2 parents bcd82a6 + 856aa9a commit 5f9ab94
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .gx/lastpubver
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0: QmepYi89BQ3qAhDXejox51WUm7toGBGd9xVVB7fhpsiXuv
2.1.0: QmUKePKcUEXwdvJENZJ6z8mJjPaxLsDZ3V9CZjPPtyawPm
2 changes: 1 addition & 1 deletion bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"container/list"
"sync"

peer "github.com/ipfs/go-libp2p-peer"
peer "github.com/libp2p/go-libp2p-peer"
)

// Bucket holds a list of peers.
Expand Down
19 changes: 7 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,27 @@
},
{
"author": "whyrusleeping",
"hash": "QmWXjJo15p4pzT7cayEwZi2sWgJqLnGDof6ZGMh9xBgU1p",
"hash": "QmfMmLGoKzCHDN7cGgk64PJr4iipzidDRME8HABSJqvmhC",
"name": "go-libp2p-peer",
"version": "2.0.4"
"version": "2.1.0"
},
{
"author": "whyrusleeping",
"hash": "QmYkwVGkwoPbMVQEbf6LonZg4SsCxGP3H7PBEtdNCNRyxD",
"hash": "QmXXCcQ7CLg5a81Ui9TTR35QcR4y7ZyihxwfjqaHfUVcVo",
"name": "go-libp2p-peerstore",
"version": "1.2.5"
"version": "1.3.0"
},
{
"hash": "QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1",
"name": "go-ipfs-util",
"version": "1.0.0"
},
{
"hash": "QmYpVUnnedgGrp6cX2pBii5HRQgcSr778FiKVe7o7nF5Z3",
"hash": "QmaEcA713Y54EtSsj7ZYfwXmsTfxrJ4oywr1iFt1d6LKY5",
"name": "go-testutil",
"version": "1.0.2"
"version": "1.1.0"
}
],
"gxVersion": "0.4.0",
"language": "go",
"license": "MIT",
"name": "go-libp2p-kbucket",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "2.0.0"
"version": "2.1.0"
}

3 changes: 2 additions & 1 deletion sorting.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package kbucket

import (
"container/list"
peer "github.com/ipfs/go-libp2p-peer"
"sort"

peer "github.com/libp2p/go-libp2p-peer"
)

// A helper struct to sort peers by their distance to the local node
Expand Down
4 changes: 2 additions & 2 deletions table.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"sync"
"time"

peer "github.com/ipfs/go-libp2p-peer"
pstore "github.com/ipfs/go-libp2p-peerstore"
logging "github.com/ipfs/go-log"
peer "github.com/libp2p/go-libp2p-peer"
pstore "github.com/libp2p/go-libp2p-peerstore"
)

var log = logging.Logger("table")
Expand Down
4 changes: 2 additions & 2 deletions table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"testing"
"time"

peer "github.com/ipfs/go-libp2p-peer"
pstore "github.com/ipfs/go-libp2p-peerstore"
peer "github.com/libp2p/go-libp2p-peer"
pstore "github.com/libp2p/go-libp2p-peerstore"
tu "github.com/libp2p/go-testutil"
)

Expand Down
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"errors"

u "github.com/ipfs/go-ipfs-util"
peer "github.com/ipfs/go-libp2p-peer"
ks "github.com/libp2p/go-libp2p-kbucket/keyspace"
peer "github.com/libp2p/go-libp2p-peer"
)

// Returned if a routing table query returns no results. This is NOT expected
Expand Down

0 comments on commit 5f9ab94

Please sign in to comment.