gx publish 1.4.2

This commit is contained in:
Jeromy 2017-02-03 10:32:21 -08:00
parent 2969d77b0f
commit 5ea1774aba
18 changed files with 34 additions and 34 deletions

View File

@ -1 +1 @@
1.4.1: QmU8iiXVwobZ366qAezD62VDxxnUe9Ss7K2skzYs7vy73B
1.4.2: QmekwEJM81TqzKzupMvK68hVNfBNvBengWkpc8nAw2bjBf

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -51,7 +51,7 @@
},
{
"author": "whyrusleeping",
"hash": "QmQ1FYwmfL2jSvLKeXd6i47cSS23bWVMGqGxeh9nv8xwry",
"hash": "QmbKtZxyDqUJp7Ad8tGr5nrLqoi9nfgqFxcNbmLJbfaHPe",
"name": "go-libp2p-peer",
"version": "2.1.1"
}
@ -61,6 +61,6 @@
"license": "MIT",
"name": "go-libp2p-peerstore",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "1.4.1"
"version": "1.4.2"
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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