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" "sync"
"github.com/tendermint/abci/types" "github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
) )
type Client interface { type Client interface {


+ 1
- 1
client/grpc_client.go View File

@ -10,7 +10,7 @@ import (
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
"github.com/tendermint/abci/types" "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 // A stripped copy of the remoteClient that makes


+ 1
- 1
client/local_client.go View File

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


+ 1
- 1
client/log.go View File

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

+ 1
- 1
client/socket_client.go View File

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


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

@ -6,7 +6,7 @@ import (
"github.com/tendermint/abci/example/counter" "github.com/tendermint/abci/example/counter"
"github.com/tendermint/abci/server" "github.com/tendermint/abci/server"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
) )
func main() { 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/example/dummy"
"github.com/tendermint/abci/server" "github.com/tendermint/abci/server"
"github.com/tendermint/abci/types" "github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
) )
func main() { 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/server"
"github.com/tendermint/abci/types" "github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
) )
func main() { func main() {


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

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


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

@ -4,7 +4,7 @@ import (
"strings" "strings"
"github.com/tendermint/abci/types" "github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
"github.com/tendermint/go-merkle" "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" abcicli "github.com/tendermint/abci/client"
"github.com/tendermint/abci/server" "github.com/tendermint/abci/server"
"github.com/tendermint/abci/types" "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-crypto"
"github.com/tendermint/go-merkle" "github.com/tendermint/go-merkle"
) )


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

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

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

@ -7,8 +7,8 @@ import (
"strings" "strings"
"github.com/tendermint/abci/types" "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-merkle"
"github.com/tendermint/go-wire" "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/example/dummy"
"github.com/tendermint/abci/server" "github.com/tendermint/abci/server"
"github.com/tendermint/abci/types" "github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
) )
func TestDummy(t *testing.T) { func TestDummy(t *testing.T) {


+ 4
- 4
glide.lock View File

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


+ 4
- 4
glide.yaml View File

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


+ 1
- 1
server/grpc_server.go View File

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


+ 1
- 1
server/log.go View File

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

+ 1
- 1
server/server.go View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/tendermint/abci/types" "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) { 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" "sync"
"github.com/tendermint/abci/types" "github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
) )
// var maxNumberConnections = 2 // var maxNumberConnections = 2


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

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


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

@ -8,7 +8,7 @@ import (
"reflect" "reflect"
"github.com/tendermint/abci/types" "github.com/tendermint/abci/types"
cmn "github.com/tendermint/go-common"
cmn "github.com/tendermint/tmlibs/common"
) )
func main() { 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/client"
"github.com/tendermint/abci/types" "github.com/tendermint/abci/types"
"github.com/tendermint/go-process"
"github.com/tendermint/tmlibs/process"
) )
func startApp(abciApp string) *process.Process { func startApp(abciApp string) *process.Process {


Loading…
Cancel
Save