Browse Source

use tmlibs

pull/456/head
Ethan Buchman 8 years ago
parent
commit
eaeb547938
17 changed files with 24 additions and 24 deletions
  1. +1
    -1
      addrbook.go
  2. +2
    -2
      connection.go
  3. +4
    -4
      glide.lock
  4. +4
    -4
      glide.yaml
  5. +1
    -1
      listener.go
  6. +1
    -1
      log.go
  7. +1
    -1
      netaddress.go
  8. +1
    -1
      peer.go
  9. +1
    -1
      peer_set_test.go
  10. +1
    -1
      pex_reactor.go
  11. +1
    -1
      pex_reactor_test.go
  12. +1
    -1
      secret_connection.go
  13. +1
    -1
      secret_connection_test.go
  14. +1
    -1
      switch.go
  15. +1
    -1
      switch_test.go
  16. +1
    -1
      upnp/log.go
  17. +1
    -1
      upnp/probe.go

+ 1
- 1
addrbook.go View File

@ -14,7 +14,7 @@ import (
"sync"
"time"
. "github.com/tendermint/go-common"
. "github.com/tendermint/tmlibs/common"
crypto "github.com/tendermint/go-crypto"
)


+ 2
- 2
connection.go View File

@ -10,9 +10,9 @@ import (
"sync/atomic"
"time"
cmn "github.com/tendermint/go-common"
flow "github.com/tendermint/go-flowrate/flowrate"
wire "github.com/tendermint/go-wire"
cmn "github.com/tendermint/tmlibs/common"
flow "github.com/tendermint/tmlibs/flowrate"
)
const (


+ 4
- 4
glide.lock View File

@ -22,19 +22,19 @@ imports:
subpackages:
- edwards25519
- extra25519
- name: github.com/tendermint/go-common
- name: github.com/tendermint/tmlibs/common
version: f9e3db037330c8a8d61d3966de8473eaf01154fa
- name: github.com/tendermint/go-config
version: 620dcbbd7d587cf3599dedbf329b64311b0c307a
- name: github.com/tendermint/go-crypto
version: 0ca2c6fdb0706001ca4c4b9b80c9f428e8cf39da
- name: github.com/tendermint/go-data
- name: github.com/tendermint/go-wire/data
version: e7fcc6d081ec8518912fcdc103188275f83a3ee5
- name: github.com/tendermint/go-flowrate
- name: github.com/tendermint/tmlibs/flowrate
version: a20c98e61957faa93b4014fbd902f20ab9317a6a
subpackages:
- flowrate
- name: github.com/tendermint/go-logger
- name: github.com/tendermint/tmlibs/logger
version: cefb3a45c0bf3c493a04e9bcd9b1540528be59f2
- name: github.com/tendermint/go-wire
version: c1c9a57ab8038448ddea1714c0698f8051e5748c


+ 4
- 4
glide.yaml View File

@ -1,17 +1,17 @@
package: github.com/tendermint/go-p2p
import:
- package: github.com/tendermint/go-common
- package: github.com/tendermint/tmlibs/common
version: develop
- package: github.com/tendermint/go-config
version: develop
- package: github.com/tendermint/go-crypto
version: develop
- package: github.com/tendermint/go-data
- package: github.com/tendermint/go-wire/data
version: develop
- package: github.com/tendermint/go-flowrate
- package: github.com/tendermint/tmlibs/flowrate
subpackages:
- flowrate
- package: github.com/tendermint/go-logger
- package: github.com/tendermint/tmlibs/logger
version: develop
- package: github.com/tendermint/go-wire
version: develop


+ 1
- 1
listener.go View File

@ -6,7 +6,7 @@ import (
"strconv"
"time"
. "github.com/tendermint/go-common"
. "github.com/tendermint/tmlibs/common"
"github.com/tendermint/go-p2p/upnp"
)


+ 1
- 1
log.go View File

@ -1,7 +1,7 @@
package p2p
import (
"github.com/tendermint/go-logger"
"github.com/tendermint/tmlibs/logger"
)
var log = logger.New("module", "p2p")

+ 1
- 1
netaddress.go View File

@ -11,7 +11,7 @@ import (
"strconv"
"time"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
// NetAddress defines information about a peer on the network


+ 1
- 1
peer.go View File

@ -7,7 +7,7 @@ import (
"time"
"github.com/pkg/errors"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
crypto "github.com/tendermint/go-crypto"
wire "github.com/tendermint/go-wire"
)


+ 1
- 1
peer_set_test.go View File

@ -4,7 +4,7 @@ import (
"math/rand"
"testing"
. "github.com/tendermint/go-common"
. "github.com/tendermint/tmlibs/common"
)
// Returns an empty dummy peer


+ 1
- 1
pex_reactor.go View File

@ -7,7 +7,7 @@ import (
"reflect"
"time"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
wire "github.com/tendermint/go-wire"
)


+ 1
- 1
pex_reactor_test.go View File

@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
wire "github.com/tendermint/go-wire"
)


+ 1
- 1
secret_connection.go View File

@ -20,7 +20,7 @@ import (
"golang.org/x/crypto/nacl/secretbox"
"golang.org/x/crypto/ripemd160"
. "github.com/tendermint/go-common"
. "github.com/tendermint/tmlibs/common"
"github.com/tendermint/go-crypto"
"github.com/tendermint/go-wire"
)


+ 1
- 1
secret_connection_test.go View File

@ -5,7 +5,7 @@ import (
"io"
"testing"
. "github.com/tendermint/go-common"
. "github.com/tendermint/tmlibs/common"
"github.com/tendermint/go-crypto"
)


+ 1
- 1
switch.go View File

@ -7,7 +7,7 @@ import (
"net"
"time"
. "github.com/tendermint/go-common"
. "github.com/tendermint/tmlibs/common"
cfg "github.com/tendermint/go-config"
crypto "github.com/tendermint/go-crypto"
"github.com/tendermint/log15"


+ 1
- 1
switch_test.go View File

@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
. "github.com/tendermint/go-common"
. "github.com/tendermint/tmlibs/common"
cfg "github.com/tendermint/go-config"
crypto "github.com/tendermint/go-crypto"
wire "github.com/tendermint/go-wire"


+ 1
- 1
upnp/log.go View File

@ -1,7 +1,7 @@
package upnp
import (
"github.com/tendermint/go-logger"
"github.com/tendermint/tmlibs/logger"
)
var log = logger.New("module", "upnp")

+ 1
- 1
upnp/probe.go View File

@ -6,7 +6,7 @@ import (
"net"
"time"
. "github.com/tendermint/go-common"
. "github.com/tendermint/tmlibs/common"
)
type UPNPCapabilities struct {


Loading…
Cancel
Save