Refactor to move common libraries out of project

This commit is contained in:
Jae Kwon 2015-10-22 17:39:06 -07:00
parent 7c12c5aee3
commit c4ed55d801
277 changed files with 406 additions and 11304 deletions

View File

@ -9,7 +9,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/codegangsta/cli" "github.com/codegangsta/cli"
) )
func ExampleApp() { func ExampleApp() {

View File

@ -3,7 +3,7 @@ package cli_test
import ( import (
"os" "os"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/codegangsta/cli" "github.com/codegangsta/cli"
) )
func Example() { func Example() {

View File

@ -4,7 +4,7 @@ import (
"flag" "flag"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/codegangsta/cli" "github.com/codegangsta/cli"
) )
func TestCommandDoNotIgnoreFlags(t *testing.T) { func TestCommandDoNotIgnoreFlags(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/codegangsta/cli" "github.com/codegangsta/cli"
) )
func TestNewContext(t *testing.T) { func TestNewContext(t *testing.T) {

View File

@ -7,7 +7,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/codegangsta/cli" "github.com/codegangsta/cli"
) )
var boolFlagTests = []struct { var boolFlagTests = []struct {

View File

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/codegangsta/cli" "github.com/codegangsta/cli"
) )
func Test_ShowAppHelp_NoAuthor(t *testing.T) { func Test_ShowAppHelp_NoAuthor(t *testing.T) {

View File

@ -8,7 +8,7 @@ package main
import ( import (
"errors" "errors"
"flag" "flag"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/gorilla/websocket" "github.com/gorilla/websocket"
"io" "io"
"log" "log"
"net/http" "net/http"

View File

@ -5,7 +5,7 @@
package main package main
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/gorilla/websocket" "github.com/gorilla/websocket"
"log" "log"
"net/http" "net/http"
"time" "time"

View File

@ -14,7 +14,7 @@ import (
"text/template" "text/template"
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/gorilla/websocket" "github.com/gorilla/websocket"
) )
const ( const (

View File

@ -9,7 +9,7 @@ import (
"runtime" "runtime"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/inconshreveable/log15/stack" "github.com/inconshreveable/log15/stack"
) )
type testType struct{} type testType struct{}

View File

@ -3,7 +3,7 @@ package stringutil_test
import ( import (
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/naoina/go-stringutil" "github.com/naoina/go-stringutil"
) )
var benchcaseForCamelCase = "the_quick_brown_fox_jumps_over_the_lazy_dog" var benchcaseForCamelCase = "the_quick_brown_fox_jumps_over_the_lazy_dog"

View File

@ -4,7 +4,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/naoina/go-stringutil" "github.com/naoina/go-stringutil"
) )
func TestToUpperCamelCase(t *testing.T) { func TestToUpperCamelCase(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/naoina/toml/ast" "github.com/naoina/toml/ast"
) )
const ( const (

View File

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/naoina/toml" "github.com/naoina/toml"
) )
func BenchmarkUnmarshal(b *testing.B) { func BenchmarkUnmarshal(b *testing.B) {

View File

@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/naoina/toml" "github.com/naoina/toml"
) )
const ( const (

View File

@ -8,7 +8,7 @@ import (
"go/ast" "go/ast"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/naoina/go-stringutil" "github.com/naoina/go-stringutil"
) )
const ( const (

View File

@ -5,7 +5,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/naoina/toml" "github.com/naoina/toml"
) )
func TestMarshal(t *testing.T) { func TestMarshal(t *testing.T) {

View File

@ -3,7 +3,7 @@ package toml
import ( import (
"fmt" "fmt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/naoina/toml/ast" "github.com/naoina/toml/ast"
) )
// Parse returns an AST representation of TOML. // Parse returns an AST representation of TOML.

View File

@ -11,7 +11,7 @@ import (
"strings" "strings"
"time" "time"
flag "github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/spf13/pflag" flag "github.com/spf13/pflag"
) )
// Example 1: A single string flag called "species" with default value "gopher". // Example 1: A single string flag called "species" with default value "gopher".

View File

@ -10,8 +10,8 @@ import (
"encoding/binary" "encoding/binary"
"fmt" "fmt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb" "github.com/syndtr/goleveldb/leveldb/memdb"
) )
type ErrBatchCorrupted struct { type ErrBatchCorrupted struct {

View File

@ -10,8 +10,8 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb" "github.com/syndtr/goleveldb/leveldb/memdb"
) )
type tbRec struct { type tbRec struct {

View File

@ -15,9 +15,9 @@ import (
"runtime" "runtime"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
) )
func randomString(r *rand.Rand, n int) []byte { func randomString(r *rand.Rand, n int) []byte {

View File

@ -12,7 +12,7 @@ import (
"sync/atomic" "sync/atomic"
"unsafe" "unsafe"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
// Cacher provides interface to implements a caching functionality. // Cacher provides interface to implements a caching functionality.

View File

@ -6,7 +6,7 @@
package leveldb package leveldb
import "github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" import "github.com/syndtr/goleveldb/leveldb/comparer"
type iComparer struct { type iComparer struct {
ucmp comparer.Comparer ucmp comparer.Comparer

View File

@ -9,9 +9,9 @@ package leveldb
import ( import (
"bytes" "bytes"
"fmt" "fmt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter" "github.com/syndtr/goleveldb/leveldb/filter"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
"io" "io"
"math/rand" "math/rand"
"testing" "testing"

View File

@ -17,14 +17,14 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/journal" "github.com/syndtr/goleveldb/leveldb/journal"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb" "github.com/syndtr/goleveldb/leveldb/memdb"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table" "github.com/syndtr/goleveldb/leveldb/table"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type DB struct { type DB struct {

View File

@ -10,9 +10,9 @@ import (
"sync" "sync"
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb" "github.com/syndtr/goleveldb/leveldb/memdb"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
) )
var ( var (

View File

@ -12,9 +12,9 @@ import (
"sync" "sync"
"sync/atomic" "sync/atomic"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
var ( var (

View File

@ -13,9 +13,9 @@ import (
"sync" "sync"
"sync/atomic" "sync/atomic"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type snapshotElement struct { type snapshotElement struct {

View File

@ -10,8 +10,8 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/journal" "github.com/syndtr/goleveldb/leveldb/journal"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb" "github.com/syndtr/goleveldb/leveldb/memdb"
) )
type memDB struct { type memDB struct {

View File

@ -23,13 +23,13 @@ import (
"time" "time"
"unsafe" "unsafe"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter" "github.com/syndtr/goleveldb/leveldb/filter"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
func tkey(i int) []byte { func tkey(i int) []byte {

View File

@ -7,11 +7,11 @@
package leveldb package leveldb
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
// Reader is the interface that wraps basic Get and NewIterator methods. // Reader is the interface that wraps basic Get and NewIterator methods.

View File

@ -9,9 +9,9 @@ package leveldb
import ( import (
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb" "github.com/syndtr/goleveldb/leveldb/memdb"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
func (db *DB) writeJournal(b *Batch) error { func (db *DB) writeJournal(b *Batch) error {

View File

@ -7,7 +7,7 @@
package leveldb package leveldb
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
) )
var ( var (

View File

@ -11,8 +11,8 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
var ( var (

View File

@ -10,8 +10,8 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
) )
var _ = testutil.Defer(func() { var _ = testutil.Defer(func() {

View File

@ -7,7 +7,7 @@
package leveldb package leveldb
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter" "github.com/syndtr/goleveldb/leveldb/filter"
) )
type iFilter struct { type iFilter struct {

View File

@ -7,7 +7,7 @@
package filter package filter
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
func bloomHash(key []byte) uint32 { func bloomHash(key []byte) uint32 {

View File

@ -8,7 +8,7 @@ package filter
import ( import (
"encoding/binary" "encoding/binary"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
"testing" "testing"
) )

View File

@ -7,7 +7,7 @@
package iterator package iterator
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
// BasicArray is the interface that wraps basic Len and Search method. // BasicArray is the interface that wraps basic Len and Search method.

View File

@ -9,8 +9,8 @@ package iterator_test
import ( import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" . "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
) )
var _ = testutil.Defer(func() { var _ = testutil.Defer(func() {

View File

@ -7,8 +7,8 @@
package iterator package iterator
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
// IteratorIndexer is the interface that wraps CommonIterator and basic Get // IteratorIndexer is the interface that wraps CommonIterator and basic Get

View File

@ -11,9 +11,9 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
. "github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" . "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
) )
type keyValue struct { type keyValue struct {

View File

@ -11,7 +11,7 @@ package iterator
import ( import (
"errors" "errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
var ( var (

View File

@ -3,7 +3,7 @@ package iterator_test
import ( import (
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
) )
func TestIterator(t *testing.T) { func TestIterator(t *testing.T) {

View File

@ -7,9 +7,9 @@
package iterator package iterator
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type dir int type dir int

View File

@ -10,9 +10,9 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
. "github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" . "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
) )
var _ = testutil.Defer(func() { var _ = testutil.Defer(func() {

View File

@ -82,8 +82,8 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
// These constants are part of the wire format and should not be changed. // These constants are part of the wire format and should not be changed.

View File

@ -10,7 +10,7 @@ import (
"encoding/binary" "encoding/binary"
"fmt" "fmt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
) )
type ErrIkeyCorrupted struct { type ErrIkeyCorrupted struct {

View File

@ -10,7 +10,7 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
) )
var defaultIComparer = &iComparer{comparer.DefaultComparer} var defaultIComparer = &iComparer{comparer.DefaultComparer}

View File

@ -3,7 +3,7 @@ package leveldb
import ( import (
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
) )
func TestLevelDB(t *testing.T) { func TestLevelDB(t *testing.T) {

View File

@ -11,7 +11,7 @@ import (
"math/rand" "math/rand"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
) )
func BenchmarkPut(b *testing.B) { func BenchmarkPut(b *testing.B) {

View File

@ -11,10 +11,10 @@ import (
"math/rand" "math/rand"
"sync" "sync"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
var ( var (

View File

@ -3,7 +3,7 @@ package memdb
import ( import (
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
) )
func TestMemDB(t *testing.T) { func TestMemDB(t *testing.T) {

View File

@ -10,10 +10,10 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
func (p *DB) TestFindLT(key []byte) (rkey, value []byte, err error) { func (p *DB) TestFindLT(key []byte) (rkey, value []byte, err error) {

View File

@ -8,9 +8,9 @@
package opt package opt
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/cache" "github.com/syndtr/goleveldb/leveldb/cache"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter" "github.com/syndtr/goleveldb/leveldb/filter"
"math" "math"
) )

View File

@ -7,8 +7,8 @@
package leveldb package leveldb
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter" "github.com/syndtr/goleveldb/leveldb/filter"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
) )
func dupOptions(o *opt.Options) *opt.Options { func dupOptions(o *opt.Options) *opt.Options {

View File

@ -13,12 +13,12 @@ import (
"sync" "sync"
"sync/atomic" "sync/atomic"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/journal" "github.com/syndtr/goleveldb/leveldb/journal"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type ErrManifestCorrupted struct { type ErrManifestCorrupted struct {

View File

@ -12,7 +12,7 @@ import (
"io" "io"
"strings" "strings"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
) )
type byteReader interface { type byteReader interface {

View File

@ -10,7 +10,7 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
) )
func decodeEncode(v *sessionRecord) (res bool, err error) { func decodeEncode(v *sessionRecord) (res bool, err error) {

View File

@ -10,8 +10,8 @@ import (
"fmt" "fmt"
"sync/atomic" "sync/atomic"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/journal" "github.com/syndtr/goleveldb/leveldb/journal"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
) )
// Logging. // Logging.

View File

@ -18,7 +18,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
var errFileOpen = errors.New("leveldb/storage: file still open") var errFileOpen = errors.New("leveldb/storage: file still open")

View File

@ -11,7 +11,7 @@ import (
"os" "os"
"sync" "sync"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
const typeShift = 3 const typeShift = 3

View File

@ -12,7 +12,7 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type FileType uint32 type FileType uint32

View File

@ -17,8 +17,8 @@ import (
"sync" "sync"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
const typeShift = 4 const typeShift = 4

View File

@ -11,12 +11,12 @@ import (
"sort" "sort"
"sync/atomic" "sync/atomic"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/cache" "github.com/syndtr/goleveldb/leveldb/cache"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table" "github.com/syndtr/goleveldb/leveldb/table"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type // tFile holds basic information about a table. type // tFile holds basic information about a table.

View File

@ -13,10 +13,10 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type blockTesting struct { type blockTesting struct {

View File

@ -14,15 +14,15 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/cache" "github.com/syndtr/goleveldb/leveldb/cache"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter" "github.com/syndtr/goleveldb/leveldb/filter"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/gosnappy/snappy" "github.com/syndtr/gosnappy/snappy"
) )
var ( var (

View File

@ -3,7 +3,7 @@ package table
import ( import (
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
) )
func TestTable(t *testing.T) { func TestTable(t *testing.T) {

View File

@ -12,10 +12,10 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type tableWrapper struct { type tableWrapper struct {

View File

@ -12,11 +12,11 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter" "github.com/syndtr/goleveldb/leveldb/filter"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/gosnappy/snappy" "github.com/syndtr/gosnappy/snappy"
) )
func sharedPrefixLen(a, b []byte) int { func sharedPrefixLen(a, b []byte) int {

View File

@ -12,9 +12,9 @@ import (
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type DB interface{} type DB interface{}

View File

@ -12,7 +12,7 @@ import (
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
) )
type IterAct int type IterAct int

View File

@ -12,7 +12,7 @@ import (
"sort" "sort"
"strings" "strings"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type KeyValueEntry struct { type KeyValueEntry struct {

View File

@ -13,8 +13,8 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
func KeyValueTesting(rnd *rand.Rand, kv KeyValue, p DB, setup func(KeyValue) DB, teardown func(DB)) { func KeyValueTesting(rnd *rand.Rand, kv KeyValue, p DB, setup func(KeyValue) DB, teardown func(DB)) {

View File

@ -18,8 +18,8 @@ import (
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
var ( var (

View File

@ -15,7 +15,7 @@ import (
"github.com/onsi/ginkgo/config" "github.com/onsi/ginkgo/config"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer" "github.com/syndtr/goleveldb/leveldb/comparer"
) )
var ( var (

View File

@ -9,10 +9,10 @@ package leveldb
import ( import (
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil" "github.com/syndtr/goleveldb/leveldb/testutil"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type testingDB struct { type testingDB struct {

View File

@ -10,7 +10,7 @@ import (
"fmt" "fmt"
"sort" "sort"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage" "github.com/syndtr/goleveldb/leveldb/storage"
) )
func shorten(str string) string { func shorten(str string) string {

View File

@ -10,9 +10,9 @@ import (
"sync/atomic" "sync/atomic"
"unsafe" "unsafe"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator" "github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )
type tSet struct { type tSet struct {

View File

@ -14,7 +14,7 @@ import (
"crypto/subtle" "crypto/subtle"
"io" "io"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/agl/ed25519/edwards25519" "github.com/agl/ed25519/edwards25519"
) )
const ( const (

View File

@ -7,7 +7,7 @@ package extra25519
import ( import (
"crypto/sha512" "crypto/sha512"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/agl/ed25519/edwards25519" "github.com/agl/ed25519/edwards25519"
) )
// PrivateKeyToCurve25519 converts an ed25519 private key into a corresponding // PrivateKeyToCurve25519 converts an ed25519 private key into a corresponding

View File

@ -11,7 +11,7 @@ import (
"sync/atomic" "sync/atomic"
"unsafe" "unsafe"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/inconshreveable/log15/stack" "github.com/inconshreveable/log15/stack"
) )
// A Logger prints its log records by writing to a Handler. // A Logger prints its log records by writing to a Handler.

View File

@ -3,8 +3,8 @@ package log15
import ( import (
"os" "os"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/inconshreveable/log15/term" "github.com/inconshreveable/log15/term"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/mattn/go-colorable" "github.com/mattn/go-colorable"
) )
var ( var (

View File

@ -9,7 +9,7 @@ import (
"runtime" "runtime"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/inconshreveable/log15/stack" "github.com/inconshreveable/log15/stack"
) )
type testType struct{} type testType struct{}

View File

@ -18,9 +18,9 @@ This package is interoperable with NaCl: http://nacl.cr.yp.to/box.html.
package box package box
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/golang.org/x/crypto/curve25519" "golang.org/x/crypto/curve25519"
"github.com/tendermint/tendermint/Godeps/_workspace/src/golang.org/x/crypto/nacl/secretbox" "golang.org/x/crypto/nacl/secretbox"
"github.com/tendermint/tendermint/Godeps/_workspace/src/golang.org/x/crypto/salsa20/salsa" "golang.org/x/crypto/salsa20/salsa"
"io" "io"
) )

View File

@ -10,7 +10,7 @@ import (
"encoding/hex" "encoding/hex"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/golang.org/x/crypto/curve25519" "golang.org/x/crypto/curve25519"
) )
func TestSealOpen(t *testing.T) { func TestSealOpen(t *testing.T) {

View File

@ -18,8 +18,8 @@ This package is interoperable with NaCl: http://nacl.cr.yp.to/secretbox.html.
package secretbox package secretbox
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/golang.org/x/crypto/poly1305" "golang.org/x/crypto/poly1305"
"github.com/tendermint/tendermint/Godeps/_workspace/src/golang.org/x/crypto/salsa20/salsa" "golang.org/x/crypto/salsa20/salsa"
) )
// Overhead is the number of bytes of overhead when boxing a message. // Overhead is the number of bytes of overhead when boxing a message.

View File

@ -26,5 +26,5 @@ WARNING: THIS STEP WILL GIVE CONTROL OF THE CURRENT USER TO THE DEV TEAM.
go get -u github.com/tendermint/tendermint/cmd/tendermint go get -u github.com/tendermint/tendermint/cmd/tendermint
mkdir -p ~/.tendermint mkdir -p ~/.tendermint
cp $GOPATH/src/github.com/tendermint/tendermint/config/tendermint/genesis.json ~/.tendermint/ cp $GOPATH/src/github.com/tendermint/go-config/tendermint/genesis.json ~/.tendermint/
tendermint node --seeds="goldenalchemist.chaintest.net:46656" tendermint node --seeds="goldenalchemist.chaintest.net:46656"

View File

@ -5,9 +5,9 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/tendermint/tendermint/wire" "github.com/tendermint/go-wire"
. "github.com/tendermint/tendermint/common" . "github.com/tendermint/go-common"
"github.com/tendermint/tendermint/merkle" "github.com/tendermint/go-merkle"
ptypes "github.com/tendermint/tendermint/permission/types" ptypes "github.com/tendermint/tendermint/permission/types"
) )

View File

@ -1,9 +1,10 @@
package account package account
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/tendermint/ed25519" "github.com/tendermint/ed25519"
. "github.com/tendermint/tendermint/common" . "github.com/tendermint/go-common"
"github.com/tendermint/tendermint/wire" "github.com/tendermint/go-wire"
) )
type PrivAccount struct { type PrivAccount struct {

View File

@ -1,10 +1,10 @@
package account package account
import ( import (
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/tendermint/ed25519" "github.com/tendermint/ed25519"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/tendermint/ed25519/extra25519" "github.com/tendermint/ed25519/extra25519"
"github.com/tendermint/tendermint/wire" "github.com/tendermint/go-wire"
. "github.com/tendermint/tendermint/common" . "github.com/tendermint/go-common"
) )
// PrivKey is part of PrivAccount and state.PrivValidator. // PrivKey is part of PrivAccount and state.PrivValidator.

View File

@ -1,13 +1,14 @@
package account package account
import ( import (
"bytes" "bytes"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/tendermint/ed25519" "github.com/tendermint/ed25519"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/tendermint/ed25519/extra25519" "github.com/tendermint/ed25519/extra25519"
"github.com/tendermint/tendermint/Godeps/_workspace/src/golang.org/x/crypto/ripemd160" "golang.org/x/crypto/ripemd160"
"github.com/tendermint/tendermint/wire" "github.com/tendermint/go-wire"
. "github.com/tendermint/tendermint/common" . "github.com/tendermint/go-common"
) )
// PubKey is part of Account and Validator. // PubKey is part of Account and Validator.

View File

@ -3,8 +3,8 @@ package account
import ( import (
"fmt" "fmt"
"github.com/tendermint/tendermint/wire" "github.com/tendermint/go-wire"
. "github.com/tendermint/tendermint/common" . "github.com/tendermint/go-common"
) )
// Signature is a part of Txs and consensus Votes. // Signature is a part of Txs and consensus Votes.

View File

@ -1,12 +1,13 @@
package account package account
import ( import (
"bytes" "bytes"
"testing" "testing"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/tendermint/ed25519" "github.com/tendermint/ed25519"
"github.com/tendermint/tendermint/wire" "github.com/tendermint/go-wire"
. "github.com/tendermint/tendermint/common" . "github.com/tendermint/go-common"
) )
func TestSignAndValidate(t *testing.T) { func TestSignAndValidate(t *testing.T) {

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/tendermint/tendermint/Godeps/_workspace/src/github.com/sfreiberg/gotwilio" "github.com/sfreiberg/gotwilio"
) )
var lastAlertUnix int64 = 0 var lastAlertUnix int64 = 0

View File

@ -1,7 +1,8 @@
package alert package alert
import ( import (
cfg "github.com/tendermint/tendermint/config" cfg "github.com/tendermint/go-config"
) )
var config cfg.Config = nil var config cfg.Config = nil

View File

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

View File

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

View File

@ -5,8 +5,8 @@ import (
"sync" "sync"
"time" "time"
flow "github.com/tendermint/tendermint/Godeps/_workspace/src/code.google.com/p/mxk/go1/flowcontrol" flow "github.com/tendermint/flowcontrol"
. "github.com/tendermint/tendermint/common" . "github.com/tendermint/go-common"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )

Some files were not shown because too many files have changed in this diff Show More