Browse Source

go-p2p -> tendermint/p2p

pull/456/head
Ethan Buchman 7 years ago
parent
commit
56c60fba23
20 changed files with 26 additions and 26 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      benchmarks/codec_test.go
  3. +1
    -1
      blockchain/reactor.go
  4. +1
    -1
      cmd/tendermint/commands/probe_upnp.go
  5. +1
    -1
      consensus/byzantine_test.go
  6. +1
    -1
      consensus/common_test.go
  7. +1
    -1
      consensus/reactor.go
  8. +1
    -1
      consensus/reactor_test.go
  9. +1
    -1
      glide.lock
  10. +1
    -1
      glide.yaml
  11. +1
    -1
      mempool/reactor.go
  12. +1
    -1
      node/node.go
  13. +5
    -5
      p2p/Dockerfile
  14. +3
    -3
      p2p/README.md
  15. +1
    -1
      p2p/connection_test.go
  16. +1
    -1
      p2p/listener.go
  17. +1
    -1
      rpc/tendermint/core/pipe.go
  18. +1
    -1
      rpc/tendermint/core/types/responses.go
  19. +1
    -1
      rpc/tendermint/core/types/responses_test.go
  20. +1
    -1
      test/test_libs.sh

+ 1
- 1
README.md View File

@ -54,7 +54,7 @@ Yay open source! Please see our [contributing guidelines](https://tendermint.com
* [ABCI](http://github.com/tendermint/abci)
* [Mintnet](http://github.com/tendermint/mintnet)
* [Go-Wire](http://github.com/tendermint/go-wire)
* [Go-P2P](http://github.com/tendermint/go-p2p)
* [Go-P2P](http://github.com/tendermint/tendermint/p2p)
* [Go-Merkle](http://github.com/tendermint/go-merkle)
### Applications


+ 1
- 1
benchmarks/codec_test.go View File

@ -4,7 +4,7 @@ import (
"testing"
"github.com/tendermint/go-crypto"
"github.com/tendermint/go-p2p"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/go-wire"
proto "github.com/tendermint/tendermint/benchmarks/proto"
ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types"


+ 1
- 1
blockchain/reactor.go View File

@ -8,7 +8,7 @@ import (
cmn "github.com/tendermint/tmlibs/common"
cfg "github.com/tendermint/go-config"
"github.com/tendermint/go-p2p"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/go-wire"
"github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state"


+ 1
- 1
cmd/tendermint/commands/probe_upnp.go View File

@ -6,7 +6,7 @@ import (
"github.com/spf13/cobra"
"github.com/tendermint/go-p2p/upnp"
"github.com/tendermint/tendermint/p2p/upnp"
)
var probeUpnpCmd = &cobra.Command{


+ 1
- 1
consensus/byzantine_test.go View File

@ -10,7 +10,7 @@ import (
. "github.com/tendermint/tmlibs/common"
cfg "github.com/tendermint/go-config"
"github.com/tendermint/tmlibs/events"
"github.com/tendermint/go-p2p"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
consensus/common_test.go View File

@ -16,7 +16,7 @@ import (
. "github.com/tendermint/tmlibs/common"
cfg "github.com/tendermint/go-config"
dbm "github.com/tendermint/tmlibs/db"
"github.com/tendermint/go-p2p"
"github.com/tendermint/tendermint/p2p"
bc "github.com/tendermint/tendermint/blockchain"
"github.com/tendermint/tendermint/config/tendermint_test"
mempl "github.com/tendermint/tendermint/mempool"


+ 1
- 1
consensus/reactor.go View File

@ -9,7 +9,7 @@ import (
"time"
. "github.com/tendermint/tmlibs/common"
"github.com/tendermint/go-p2p"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/go-wire"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"


+ 1
- 1
consensus/reactor_test.go View File

@ -9,7 +9,7 @@ import (
"github.com/tendermint/tendermint/config/tendermint_test"
"github.com/tendermint/tmlibs/events"
"github.com/tendermint/go-p2p"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/abci/example/dummy"
)


+ 1
- 1
glide.lock View File

@ -104,7 +104,7 @@ imports:
version: cefb3a45c0bf3c493a04e9bcd9b1540528be59f2
- name: github.com/tendermint/go-merkle
version: 714d4d04557fd068a7c2a1748241ce8428015a96
- name: github.com/tendermint/go-p2p
- name: github.com/tendermint/tendermint/p2p
version: b5f314ffed65c81bd019ba1dd2bae0e95f3937f3
subpackages:
- upnp


+ 1
- 1
glide.yaml View File

@ -20,7 +20,7 @@ import:
version: develop
- package: github.com/tendermint/go-merkle
version: develop
- package: github.com/tendermint/go-p2p
- package: github.com/tendermint/tendermint/p2p
version: unstable
- package: github.com/tendermint/tendermint/rpc
version: develop


+ 1
- 1
mempool/reactor.go View File

@ -9,7 +9,7 @@ import (
abci "github.com/tendermint/abci/types"
"github.com/tendermint/tmlibs/clist"
cfg "github.com/tendermint/go-config"
"github.com/tendermint/go-p2p"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/go-wire"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
node/node.go View File

@ -12,7 +12,7 @@ import (
cfg "github.com/tendermint/go-config"
crypto "github.com/tendermint/go-crypto"
dbm "github.com/tendermint/tmlibs/db"
p2p "github.com/tendermint/go-p2p"
p2p "github.com/tendermint/tendermint/p2p"
rpc "github.com/tendermint/tendermint/rpc"
rpcserver "github.com/tendermint/tendermint/rpc/server"
wire "github.com/tendermint/go-wire"


+ 5
- 5
p2p/Dockerfile View File

@ -2,12 +2,12 @@ FROM golang:latest
RUN curl https://glide.sh/get | sh
RUN mkdir -p /go/src/github.com/tendermint/go-p2p
WORKDIR /go/src/github.com/tendermint/go-p2p
RUN mkdir -p /go/src/github.com/tendermint/tendermint/p2p
WORKDIR /go/src/github.com/tendermint/tendermint/p2p
COPY glide.yaml /go/src/github.com/tendermint/go-p2p/
COPY glide.lock /go/src/github.com/tendermint/go-p2p/
COPY glide.yaml /go/src/github.com/tendermint/tendermint/p2p/
COPY glide.lock /go/src/github.com/tendermint/tendermint/p2p/
RUN glide install
COPY . /go/src/github.com/tendermint/go-p2p
COPY . /go/src/github.com/tendermint/tendermint/p2p

+ 3
- 3
p2p/README.md View File

@ -1,8 +1,8 @@
# `tendermint/go-p2p`
# `tendermint/tendermint/p2p`
[![CircleCI](https://circleci.com/gh/tendermint/go-p2p.svg?style=svg)](https://circleci.com/gh/tendermint/go-p2p)
[![CircleCI](https://circleci.com/gh/tendermint/tendermint/p2p.svg?style=svg)](https://circleci.com/gh/tendermint/tendermint/p2p)
`tendermint/go-p2p` provides an abstraction around peer-to-peer communication.<br/>
`tendermint/tendermint/p2p` provides an abstraction around peer-to-peer communication.<br/>
## Peer/MConnection/Channel


+ 1
- 1
p2p/connection_test.go View File

@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
p2p "github.com/tendermint/go-p2p"
p2p "github.com/tendermint/tendermint/p2p"
)
func createMConnection(conn net.Conn) *p2p.MConnection {


+ 1
- 1
p2p/listener.go View File

@ -7,7 +7,7 @@ import (
"time"
. "github.com/tendermint/tmlibs/common"
"github.com/tendermint/go-p2p/upnp"
"github.com/tendermint/tendermint/p2p/upnp"
)
type Listener interface {


+ 1
- 1
rpc/tendermint/core/pipe.go View File

@ -4,7 +4,7 @@ import (
cfg "github.com/tendermint/go-config"
crypto "github.com/tendermint/go-crypto"
p2p "github.com/tendermint/go-p2p"
p2p "github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/consensus"
"github.com/tendermint/tendermint/proxy"
"github.com/tendermint/tendermint/state/txindex"


+ 1
- 1
rpc/tendermint/core/types/responses.go View File

@ -6,7 +6,7 @@ import (
abci "github.com/tendermint/abci/types"
"github.com/tendermint/go-crypto"
data "github.com/tendermint/go-wire/data"
"github.com/tendermint/go-p2p"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/rpc/types"
"github.com/tendermint/go-wire"
"github.com/tendermint/tendermint/types"


+ 1
- 1
rpc/tendermint/core/types/responses_test.go View File

@ -4,7 +4,7 @@ import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/tendermint/go-p2p"
"github.com/tendermint/tendermint/p2p"
)
func TestStatusIndexer(t *testing.T) {


+ 1
- 1
test/test_libs.sh View File

@ -14,7 +14,7 @@ fi
# some libs are tested with go, others with make
# TODO: should be all make (post repo merge)
LIBS_GO_TEST=(tmlibs/clist tmlibs/common go-config go-crypto tmlibs/db tmlibs/events go-merkle go-p2p)
LIBS_GO_TEST=(tmlibs/clist tmlibs/common go-config go-crypto tmlibs/db tmlibs/events go-merkle tendermint/p2p)
LIBS_MAKE_TEST=(tendermint/rpc go-wire abci)
for lib in "${LIBS_GO_TEST[@]}"; do


Loading…
Cancel
Save