Browse Source

use tmlibs

pull/1780/head
Ethan Buchman 8 years ago
parent
commit
28d042fdae
23 changed files with 30 additions and 30 deletions
  1. +1
    -1
      client/client.go
  2. +1
    -1
      client/grpc_client.go
  3. +1
    -1
      client/local_client.go
  4. +1
    -1
      client/log.go
  5. +1
    -1
      client/socket_client.go
  6. +1
    -1
      cmd/counter/main.go
  7. +1
    -1
      cmd/dummy/main.go
  8. +1
    -1
      example/block_aware/block_aware_app.go
  9. +1
    -1
      example/counter/counter.go
  10. +1
    -1
      example/dummy/dummy.go
  11. +1
    -1
      example/dummy/dummy_test.go
  12. +1
    -1
      example/dummy/log.go
  13. +2
    -2
      example/dummy/persistent_dummy.go
  14. +1
    -1
      example/example_test.go
  15. +4
    -4
      glide.lock
  16. +4
    -4
      glide.yaml
  17. +1
    -1
      server/grpc_server.go
  18. +1
    -1
      server/log.go
  19. +1
    -1
      server/server.go
  20. +1
    -1
      server/socket_server.go
  21. +1
    -1
      tests/benchmarks/parallel/parallel.go
  22. +1
    -1
      tests/benchmarks/simple/simple.go
  23. +1
    -1
      tests/test_app/app.go

+ 1
- 1
client/client.go View File

@ -5,7 +5,7 @@ import (
"sync"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
type Client interface {


+ 1
- 1
client/grpc_client.go View File

@ -10,7 +10,7 @@ import (
grpc "google.golang.org/grpc"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
// A stripped copy of the remoteClient that makes


+ 1
- 1
client/local_client.go View File

@ -4,7 +4,7 @@ import (
"sync"
types "github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
type localClient struct {


+ 1
- 1
client/log.go View File

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

+ 1
- 1
client/socket_client.go View File

@ -11,7 +11,7 @@ import (
"time"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
const (


+ 1
- 1
cmd/counter/main.go View File

@ -6,7 +6,7 @@ import (
"github.com/tendermint/abci/example/counter"
"github.com/tendermint/abci/server"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
func main() {


+ 1
- 1
cmd/dummy/main.go View File

@ -7,7 +7,7 @@ import (
"github.com/tendermint/abci/example/dummy"
"github.com/tendermint/abci/server"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
func main() {


+ 1
- 1
example/block_aware/block_aware_app.go View File

@ -6,7 +6,7 @@ import (
"github.com/tendermint/abci/server"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
func main() {


+ 1
- 1
example/counter/counter.go View File

@ -4,7 +4,7 @@ import (
"encoding/binary"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
type CounterApplication struct {


+ 1
- 1
example/dummy/dummy.go View File

@ -4,7 +4,7 @@ import (
"strings"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
"github.com/tendermint/go-merkle"
)


+ 1
- 1
example/dummy/dummy_test.go View File

@ -10,7 +10,7 @@ import (
abcicli "github.com/tendermint/abci/client"
"github.com/tendermint/abci/server"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
"github.com/tendermint/go-crypto"
"github.com/tendermint/go-merkle"
)


+ 1
- 1
example/dummy/log.go View File

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

+ 2
- 2
example/dummy/persistent_dummy.go View File

@ -7,8 +7,8 @@ import (
"strings"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
dbm "github.com/tendermint/go-db"
cmn "github.com/tendermint/tmlibs/common"
dbm "github.com/tendermint/tmlibs/db"
"github.com/tendermint/go-merkle"
"github.com/tendermint/go-wire"
)


+ 1
- 1
example/example_test.go View File

@ -16,7 +16,7 @@ import (
"github.com/tendermint/abci/example/dummy"
"github.com/tendermint/abci/server"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
func TestDummy(t *testing.T) {


+ 4
- 4
glide.lock View File

@ -46,19 +46,19 @@ imports:
subpackages:
- edwards25519
- extra25519
- name: github.com/tendermint/go-common
- name: github.com/tendermint/tmlibs/common
version: f9e3db037330c8a8d61d3966de8473eaf01154fa
- name: github.com/tendermint/go-crypto
version: 9b95da8fa4187f6799558d89b271dc8ab6485615
- name: github.com/tendermint/go-data
version: e7fcc6d081ec8518912fcdc103188275f83a3ee5
- name: github.com/tendermint/go-db
- name: github.com/tendermint/tmlibs/db
version: 9643f60bc2578693844aacf380a7c32e4c029fee
- name: github.com/tendermint/go-logger
- name: github.com/tendermint/tmlibs/logger
version: cefb3a45c0bf3c493a04e9bcd9b1540528be59f2
- name: github.com/tendermint/go-merkle
version: 714d4d04557fd068a7c2a1748241ce8428015a96
- name: github.com/tendermint/go-process
- name: github.com/tendermint/tmlibs/process
version: b27edfd189b1a01a0b099f7e9f8263589cf04909
- name: github.com/tendermint/go-wire
version: 334005c236d19c632fb5f073f9de3b0fab6a522b


+ 4
- 4
glide.yaml View File

@ -3,19 +3,19 @@ import:
- package: github.com/golang/protobuf
subpackages:
- proto
- package: github.com/tendermint/go-common
- package: github.com/tendermint/tmlibs/common
version: develop
- package: github.com/tendermint/go-crypto
version: develop
- package: github.com/tendermint/go-data
version: develop
- package: github.com/tendermint/go-logger
- package: github.com/tendermint/tmlibs/logger
version: develop
- package: github.com/tendermint/go-db
- package: github.com/tendermint/tmlibs/db
version: develop
- package: github.com/tendermint/go-merkle
version: develop
- package: github.com/tendermint/go-process
- package: github.com/tendermint/tmlibs/process
- package: github.com/tendermint/go-wire
version: develop
- package: github.com/urfave/cli


+ 1
- 1
server/grpc_server.go View File

@ -7,7 +7,7 @@ import (
"google.golang.org/grpc"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
// var maxNumberConnections = 2


+ 1
- 1
server/log.go View File

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

+ 1
- 1
server/server.go View File

@ -4,7 +4,7 @@ import (
"fmt"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
func NewServer(protoAddr, transport string, app types.Application) (cmn.Service, error) {


+ 1
- 1
server/socket_server.go View File

@ -9,7 +9,7 @@ import (
"sync"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
// var maxNumberConnections = 2


+ 1
- 1
tests/benchmarks/parallel/parallel.go View File

@ -6,7 +6,7 @@ import (
"log"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
func main() {


+ 1
- 1
tests/benchmarks/simple/simple.go View File

@ -8,7 +8,7 @@ import (
"reflect"
"github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
)
func main() {


+ 1
- 1
tests/test_app/app.go View File

@ -8,7 +8,7 @@ import (
"github.com/tendermint/abci/client"
"github.com/tendermint/abci/types"
"github.com/tendermint/go-process"
"github.com/tendermint/tmlibs/process"
)
func startApp(abciApp string) *process.Process {


Loading…
Cancel
Save