use tmlibs

This commit is contained in:
Ethan Buchman 2017-04-21 18:25:13 -04:00
parent 03012a0532
commit 28d042fdae
23 changed files with 30 additions and 30 deletions

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 {

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

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 {

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")

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 (

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() {

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() {

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() {

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 {

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"
)

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"
)

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")

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"
)

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) {

8
glide.lock generated
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

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

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

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")

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) {

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

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() {

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() {

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 {