Browse Source

tmlibs -> tendermint/libs

jae/literefactor6
Ethan Buchman 7 years ago
parent
commit
9018acde5f
11 changed files with 16 additions and 16 deletions
  1. +1
    -1
      lite/base_certifier.go
  2. +1
    -1
      lite/client/provider.go
  3. +2
    -2
      lite/dbprovider.go
  4. +1
    -1
      lite/errors/errors.go
  5. +1
    -1
      lite/inquiring_certifier.go
  6. +2
    -2
      lite/inquiring_certifier_test.go
  7. +1
    -1
      lite/multiprovider.go
  8. +1
    -1
      lite/provider.go
  9. +2
    -2
      lite/provider_test.go
  10. +3
    -3
      lite/proxy/certifier.go
  11. +1
    -1
      lite/proxy/errors.go

+ 1
- 1
lite/base_certifier.go View File

@ -5,7 +5,7 @@ import (
lerr "github.com/tendermint/tendermint/lite/errors"
"github.com/tendermint/tendermint/types"
cmn "github.com/tendermint/tmlibs/common"
cmn "github.com/tendermint/tendermint/libs/common"
)
var _ Certifier = (*BaseCertifier)(nil)


+ 1
- 1
lite/client/provider.go View File

@ -13,7 +13,7 @@ import (
rpcclient "github.com/tendermint/tendermint/rpc/client"
ctypes "github.com/tendermint/tendermint/rpc/core/types"
"github.com/tendermint/tendermint/types"
log "github.com/tendermint/tmlibs/log"
log "github.com/tendermint/tendermint/libs/log"
)
// SignStatusClient combines a SignClient and StatusClient.


+ 2
- 2
lite/dbprovider.go View File

@ -9,8 +9,8 @@ import (
crypto "github.com/tendermint/tendermint/crypto"
lerr "github.com/tendermint/tendermint/lite/errors"
"github.com/tendermint/tendermint/types"
dbm "github.com/tendermint/tmlibs/db"
log "github.com/tendermint/tmlibs/log"
dbm "github.com/tendermint/tendermint/libs/db"
log "github.com/tendermint/tendermint/libs/log"
)
type DBProvider struct {


+ 1
- 1
lite/errors/errors.go View File

@ -3,7 +3,7 @@ package errors
import (
"fmt"
cmn "github.com/tendermint/tmlibs/common"
cmn "github.com/tendermint/tendermint/libs/common"
)
//----------------------------------------


+ 1
- 1
lite/inquiring_certifier.go View File

@ -5,7 +5,7 @@ import (
lerr "github.com/tendermint/tendermint/lite/errors"
"github.com/tendermint/tendermint/types"
log "github.com/tendermint/tmlibs/log"
log "github.com/tendermint/tendermint/libs/log"
)
var _ Certifier = (*InquiringCertifier)(nil)


+ 2
- 2
lite/inquiring_certifier_test.go View File

@ -7,8 +7,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
dbm "github.com/tendermint/tmlibs/db"
log "github.com/tendermint/tmlibs/log"
dbm "github.com/tendermint/tendermint/libs/db"
log "github.com/tendermint/tendermint/libs/log"
)
func TestInquirerValidPath(t *testing.T) {


+ 1
- 1
lite/multiprovider.go View File

@ -3,7 +3,7 @@ package lite
import (
lerr "github.com/tendermint/tendermint/lite/errors"
"github.com/tendermint/tendermint/types"
log "github.com/tendermint/tmlibs/log"
log "github.com/tendermint/tendermint/libs/log"
)
// multiProvider allows you to place one or more caches in front of a source


+ 1
- 1
lite/provider.go View File

@ -2,7 +2,7 @@ package lite
import (
"github.com/tendermint/tendermint/types"
log "github.com/tendermint/tmlibs/log"
log "github.com/tendermint/tendermint/libs/log"
)
// Provider provides information for the lite client to sync validators.


+ 2
- 2
lite/provider_test.go View File

@ -9,8 +9,8 @@ import (
lerr "github.com/tendermint/tendermint/lite/errors"
"github.com/tendermint/tendermint/types"
dbm "github.com/tendermint/tmlibs/db"
log "github.com/tendermint/tmlibs/log"
dbm "github.com/tendermint/tendermint/libs/db"
log "github.com/tendermint/tendermint/libs/log"
)
// missingProvider doesn't store anything, always a miss.


+ 3
- 3
lite/proxy/certifier.go View File

@ -3,9 +3,9 @@ package proxy
import (
"github.com/tendermint/tendermint/lite"
lclient "github.com/tendermint/tendermint/lite/client"
cmn "github.com/tendermint/tmlibs/common"
dbm "github.com/tendermint/tmlibs/db"
log "github.com/tendermint/tmlibs/log"
cmn "github.com/tendermint/tendermint/libs/common"
dbm "github.com/tendermint/tendermint/libs/db"
log "github.com/tendermint/tendermint/libs/log"
)
func NewCertifier(chainID, rootDir string, client lclient.SignStatusClient, logger log.Logger) (*lite.InquiringCertifier, error) {


+ 1
- 1
lite/proxy/errors.go View File

@ -1,7 +1,7 @@
package proxy
import (
cmn "github.com/tendermint/tmlibs/common"
cmn "github.com/tendermint/tendermint/libs/common"
)
type errNoData struct{}


Loading…
Cancel
Save