dont commit with deps rewritten

This commit is contained in:
Jeromy 2017-02-03 12:49:59 -08:00
parent 5ea1774aba
commit 7842b6862f
16 changed files with 31 additions and 31 deletions

View File

@ -2,7 +2,7 @@
package addr package addr
import ( import (
ma "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr" ma "github.com/multiformats/go-multiaddr"
) )
// AddrSource is a source of addresses. It allows clients to retrieve // AddrSource is a source of addresses. It allows clients to retrieve

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"testing" "testing"
ma "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr" ma "github.com/multiformats/go-multiaddr"
) )
func newAddrOrFatal(t *testing.T, s string) ma.Multiaddr { func newAddrOrFatal(t *testing.T, s string) ma.Multiaddr {

View File

@ -3,9 +3,9 @@ package addr
import ( import (
"bytes" "bytes"
ma "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr" ma "github.com/multiformats/go-multiaddr"
manet "gx/ipfs/QmVCNGTyD4EkvNYaAp253uMQ9Rjsjy2oGMvcdJJUoVRfja/go-multiaddr-net" manet "github.com/multiformats/go-multiaddr-net"
mafmt "gx/ipfs/QmYjJnSTfXWhYL2cV1xFphPqjqowJqH7ZKLA1As8QrPHbn/mafmt" mafmt "github.com/whyrusleeping/mafmt"
) )
func isFDCostlyTransport(a ma.Multiaddr) bool { func isFDCostlyTransport(a ma.Multiaddr) bool {

View File

@ -6,9 +6,9 @@ import (
"sync" "sync"
"time" "time"
peer "github.com/libp2p/go-libp2p-peer"
addr "github.com/libp2p/go-libp2p-peerstore/addr" addr "github.com/libp2p/go-libp2p-peerstore/addr"
ma "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr" ma "github.com/multiformats/go-multiaddr"
peer "gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer"
) )
const ( const (

View File

@ -4,8 +4,8 @@ import (
"testing" "testing"
"time" "time"
ma "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr" "github.com/libp2p/go-libp2p-peer"
"gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" ma "github.com/multiformats/go-multiaddr"
) )
func IDS(t *testing.T, ids string) peer.ID { func IDS(t *testing.T, ids string) peer.ID {

View File

@ -4,7 +4,7 @@ import (
"sync" "sync"
"time" "time"
"gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" "github.com/libp2p/go-libp2p-peer"
) )
// LatencyEWMASmooting governs the decay of the EWMA (the speed // LatencyEWMASmooting governs the decay of the EWMA (the speed

View File

@ -7,7 +7,7 @@ import (
"testing" "testing"
"time" "time"
testutil "gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer/test" testutil "github.com/libp2p/go-libp2p-peer/test"
) )
func TestLatencyEWMAFun(t *testing.T) { func TestLatencyEWMAFun(t *testing.T) {

View File

@ -3,8 +3,8 @@ package peerstore
import ( import (
"encoding/json" "encoding/json"
ma "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr" "github.com/libp2p/go-libp2p-peer"
"gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" ma "github.com/multiformats/go-multiaddr"
) )
// PeerInfo is a small struct used to pass around a peer with // PeerInfo is a small struct used to pass around a peer with

View File

@ -3,8 +3,8 @@ package peerstore
import ( import (
"testing" "testing"
ma "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr" peer "github.com/libp2p/go-libp2p-peer"
peer "gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" ma "github.com/multiformats/go-multiaddr"
) )
func mustAddr(t *testing.T, s string) ma.Multiaddr { func mustAddr(t *testing.T, s string) ma.Multiaddr {

View File

@ -7,13 +7,13 @@ import (
"sync" "sync"
"time" "time"
ic "gx/ipfs/QmTuX6VtWTbWgPwd5PMXHyp411RKsW5nBqLKVVRfJMNneb/go-libp2p-crypto" ic "github.com/libp2p/go-libp2p-crypto"
//ds "github.com/jbenet/go-datastore" //ds "github.com/jbenet/go-datastore"
//dssync "github.com/jbenet/go-datastore/sync" //dssync "github.com/jbenet/go-datastore/sync"
ma "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr" logging "github.com/ipfs/go-log"
logging "gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log" "github.com/libp2p/go-libp2p-peer"
"gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" ma "github.com/multiformats/go-multiaddr"
) )
var log = logging.Logger("peerstore") var log = logging.Logger("peerstore")

View File

@ -8,8 +8,8 @@ import (
"testing" "testing"
"time" "time"
ma "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr" peer "github.com/libp2p/go-libp2p-peer"
peer "gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" ma "github.com/multiformats/go-multiaddr"
) )
func getAddrs(t *testing.T, n int) []ma.Multiaddr { func getAddrs(t *testing.T, n int) []ma.Multiaddr {

View File

@ -5,8 +5,8 @@ import (
"math/big" "math/big"
"sync" "sync"
ks "gx/ipfs/QmUusaX99BZoELh7dmPgirqRQ1FAmMnmnBn3oiqDFGBUSc/go-keyspace" peer "github.com/libp2p/go-libp2p-peer"
peer "gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" ks "github.com/whyrusleeping/go-keyspace"
) )
// peerMetric tracks a peer and its distance to something else. // peerMetric tracks a peer and its distance to something else.

View File

@ -1,6 +1,6 @@
package queue package queue
import peer "gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" import peer "github.com/libp2p/go-libp2p-peer"
// PeerQueue maintains a set of peers ordered according to a metric. // PeerQueue maintains a set of peers ordered according to a metric.
// Implementations of PeerQueue could order peers based on distances along // Implementations of PeerQueue could order peers based on distances along

View File

@ -7,8 +7,8 @@ import (
"testing" "testing"
"time" "time"
u "gx/ipfs/QmZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util" u "github.com/ipfs/go-ipfs-util"
peer "gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" peer "github.com/libp2p/go-libp2p-peer"
) )
func TestQueue(t *testing.T) { func TestQueue(t *testing.T) {

View File

@ -3,8 +3,8 @@ package queue
import ( import (
"context" "context"
logging "gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log" logging "github.com/ipfs/go-log"
peer "gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" peer "github.com/libp2p/go-libp2p-peer"
) )
var log = logging.Logger("peerqueue") var log = logging.Logger("peerqueue")

View File

@ -3,9 +3,9 @@ package testutil
import ( import (
"io" "io"
ci "gx/ipfs/QmTuX6VtWTbWgPwd5PMXHyp411RKsW5nBqLKVVRfJMNneb/go-libp2p-crypto" u "github.com/ipfs/go-ipfs-util"
u "gx/ipfs/QmZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util" ci "github.com/libp2p/go-libp2p-crypto"
peer "gx/ipfs/QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe/go-libp2p-peer" peer "github.com/libp2p/go-libp2p-peer"
) )
func RandPeerID() (peer.ID, error) { func RandPeerID() (peer.ID, error) {