Browse Source

Refactor to move common libraries out of project

pull/164/head
Jae Kwon 9 years ago
parent
commit
c4ed55d801
277 changed files with 406 additions and 11304 deletions
  1. +1
    -1
      Godeps/_workspace/src/github.com/codegangsta/cli/app_test.go
  2. +1
    -1
      Godeps/_workspace/src/github.com/codegangsta/cli/cli_test.go
  3. +1
    -1
      Godeps/_workspace/src/github.com/codegangsta/cli/command_test.go
  4. +1
    -1
      Godeps/_workspace/src/github.com/codegangsta/cli/context_test.go
  5. +1
    -1
      Godeps/_workspace/src/github.com/codegangsta/cli/flag_test.go
  6. +1
    -1
      Godeps/_workspace/src/github.com/codegangsta/cli/help_test.go
  7. +1
    -1
      Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/server.go
  8. +1
    -1
      Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/conn.go
  9. +1
    -1
      Godeps/_workspace/src/github.com/gorilla/websocket/examples/filewatch/main.go
  10. +1
    -1
      Godeps/_workspace/src/github.com/inconshreveable/log15/stack/stack_test.go
  11. +1
    -1
      Godeps/_workspace/src/github.com/naoina/go-stringutil/strings_bench_test.go
  12. +1
    -1
      Godeps/_workspace/src/github.com/naoina/go-stringutil/strings_test.go
  13. +1
    -1
      Godeps/_workspace/src/github.com/naoina/toml/decode.go
  14. +1
    -1
      Godeps/_workspace/src/github.com/naoina/toml/decode_bench_test.go
  15. +1
    -1
      Godeps/_workspace/src/github.com/naoina/toml/decode_test.go
  16. +1
    -1
      Godeps/_workspace/src/github.com/naoina/toml/encode.go
  17. +1
    -1
      Godeps/_workspace/src/github.com/naoina/toml/encode_test.go
  18. +1
    -1
      Godeps/_workspace/src/github.com/naoina/toml/parse.go
  19. +1
    -1
      Godeps/_workspace/src/github.com/spf13/pflag/example_test.go
  20. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/batch.go
  21. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/batch_test.go
  22. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/bench_test.go
  23. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/cache/cache.go
  24. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer.go
  25. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/corrupt_test.go
  26. +8
    -8
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go
  27. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go
  28. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_iter.go
  29. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_snapshot.go
  30. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_state.go
  31. +7
    -7
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_test.go
  32. +5
    -5
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_util.go
  33. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_write.go
  34. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors.go
  35. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors/errors.go
  36. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/external_test.go
  37. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter.go
  38. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter/bloom.go
  39. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter/bloom_test.go
  40. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/array_iter.go
  41. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/array_iter_test.go
  42. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter.go
  43. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter_test.go
  44. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/iter.go
  45. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/iter_suite_test.go
  46. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/merged_iter.go
  47. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/merged_iter_test.go
  48. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/journal/journal.go
  49. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/key.go
  50. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/key_test.go
  51. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/leveldb_suite_test.go
  52. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb/bench_test.go
  53. +4
    -4
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb/memdb.go
  54. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb/memdb_suite_test.go
  55. +4
    -4
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb/memdb_test.go
  56. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt/options.go
  57. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/options.go
  58. +6
    -6
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/session.go
  59. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/session_record.go
  60. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/session_record_test.go
  61. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/session_util.go
  62. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go
  63. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/mem_storage.go
  64. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/storage.go
  65. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage_test.go
  66. +6
    -6
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table.go
  67. +4
    -4
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/block_test.go
  68. +9
    -9
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/reader.go
  69. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/table_suite_test.go
  70. +4
    -4
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/table_test.go
  71. +5
    -5
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/writer.go
  72. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/db.go
  73. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/iter.go
  74. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/kv.go
  75. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/kvtest.go
  76. +2
    -2
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go
  77. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/util.go
  78. +4
    -4
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil_test.go
  79. +1
    -1
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util.go
  80. +3
    -3
      Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/version.go
  81. +1
    -1
      Godeps/_workspace/src/github.com/tendermint/ed25519/ed25519.go
  82. +1
    -1
      Godeps/_workspace/src/github.com/tendermint/ed25519/extra25519/extra25519.go
  83. +1
    -1
      Godeps/_workspace/src/github.com/tendermint/log15/handler.go
  84. +2
    -2
      Godeps/_workspace/src/github.com/tendermint/log15/root.go
  85. +1
    -1
      Godeps/_workspace/src/github.com/tendermint/log15/stack/stack_test.go
  86. +3
    -3
      Godeps/_workspace/src/golang.org/x/crypto/nacl/box/box.go
  87. +1
    -1
      Godeps/_workspace/src/golang.org/x/crypto/nacl/box/box_test.go
  88. +2
    -2
      Godeps/_workspace/src/golang.org/x/crypto/nacl/secretbox/secretbox.go
  89. +1
    -1
      INSTALL/README.md
  90. +3
    -3
      account/account.go
  91. +4
    -3
      account/priv_account.go
  92. +4
    -4
      account/priv_key.go
  93. +6
    -5
      account/pub_key.go
  94. +2
    -2
      account/signature.go
  95. +4
    -3
      account/signature_test.go
  96. +1
    -1
      alert/alert.go
  97. +2
    -1
      alert/config.go
  98. +1
    -1
      alert/log.go
  99. +1
    -1
      blockchain/log.go
  100. +2
    -2
      blockchain/pool.go

+ 1
- 1
Godeps/_workspace/src/github.com/codegangsta/cli/app_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/codegangsta/cli/cli_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/codegangsta/cli/command_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/codegangsta/cli/context_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/codegangsta/cli/flag_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/codegangsta/cli/help_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/gorilla/websocket/examples/autobahn/server.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/gorilla/websocket/examples/chat/conn.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/gorilla/websocket/examples/filewatch/main.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/inconshreveable/log15/stack/stack_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/naoina/go-stringutil/strings_bench_test.go View File

@ -3,7 +3,7 @@ package stringutil_test
import (
"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"


+ 1
- 1
Godeps/_workspace/src/github.com/naoina/go-stringutil/strings_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/naoina/toml/decode.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/naoina/toml/decode_bench_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/naoina/toml/decode_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/naoina/toml/encode.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/naoina/toml/encode_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/naoina/toml/parse.go View File

@ -3,7 +3,7 @@ package toml
import (
"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.


+ 1
- 1
Godeps/_workspace/src/github.com/spf13/pflag/example_test.go View File

@ -11,7 +11,7 @@ import (
"strings"
"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".


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/batch.go View File

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


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/batch_test.go View File

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


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/bench_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/cache/cache.go View File

@ -12,7 +12,7 @@ import (
"sync/atomic"
"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.


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/comparer.go View File

@ -6,7 +6,7 @@
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 {
ucmp comparer.Comparer


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/corrupt_test.go View File

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


+ 8
- 8
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go View File

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


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go View File

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


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_iter.go View File

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


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_snapshot.go View File

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


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_state.go View File

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


+ 7
- 7
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_test.go View File

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


+ 5
- 5
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_util.go View File

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


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_write.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors.go View File

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


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/errors/errors.go View File

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


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/external_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter/bloom.go View File

@ -7,7 +7,7 @@
package filter
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 {


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/filter/bloom_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/array_iter.go View File

@ -7,7 +7,7 @@
package iterator
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.


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/array_iter_test.go View File

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


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter.go View File

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


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/iter.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/iter_suite_test.go View File

@ -3,7 +3,7 @@ package iterator_test
import (
"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) {


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/merged_iter.go View File

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


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/iterator/merged_iter_test.go View File

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


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/journal/journal.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/key.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/key_test.go View File

@ -10,7 +10,7 @@ import (
"bytes"
"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}


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/leveldb_suite_test.go View File

@ -3,7 +3,7 @@ package leveldb
import (
"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) {


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb/bench_test.go View File

@ -11,7 +11,7 @@ import (
"math/rand"
"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) {


+ 4
- 4
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb/memdb.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb/memdb_suite_test.go View File

@ -3,7 +3,7 @@ package memdb
import (
"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) {


+ 4
- 4
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/memdb/memdb_test.go View File

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


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/opt/options.go View File

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


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/options.go View File

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


+ 6
- 6
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/session.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/session_record.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/session_record_test.go View File

@ -10,7 +10,7 @@ import (
"bytes"
"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) {


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/session_util.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go View File

@ -18,7 +18,7 @@ import (
"sync"
"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")


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/mem_storage.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/storage.go View File

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


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage_test.go View File

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


+ 6
- 6
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table.go View File

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


+ 4
- 4
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/block_test.go View File

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


+ 9
- 9
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/reader.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/table_suite_test.go View File

@ -3,7 +3,7 @@ package table
import (
"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) {


+ 4
- 4
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/table_test.go View File

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


+ 5
- 5
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/writer.go View File

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


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/db.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/iter.go View File

@ -12,7 +12,7 @@ import (
. "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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/kv.go View File

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


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/kvtest.go View File

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


+ 2
- 2
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/storage.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil/util.go View File

@ -15,7 +15,7 @@ import (
"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 (


+ 4
- 4
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/testutil_test.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util.go View File

@ -10,7 +10,7 @@ import (
"fmt"
"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 {


+ 3
- 3
Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/version.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/tendermint/ed25519/ed25519.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/tendermint/ed25519/extra25519/extra25519.go View File

@ -7,7 +7,7 @@ package extra25519
import (
"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


+ 1
- 1
Godeps/_workspace/src/github.com/tendermint/log15/handler.go View File

@ -11,7 +11,7 @@ import (
"sync/atomic"
"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.


+ 2
- 2
Godeps/_workspace/src/github.com/tendermint/log15/root.go View File

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


+ 1
- 1
Godeps/_workspace/src/github.com/tendermint/log15/stack/stack_test.go View File

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


+ 3
- 3
Godeps/_workspace/src/golang.org/x/crypto/nacl/box/box.go View File

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


+ 1
- 1
Godeps/_workspace/src/golang.org/x/crypto/nacl/box/box_test.go View File

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


+ 2
- 2
Godeps/_workspace/src/golang.org/x/crypto/nacl/secretbox/secretbox.go View File

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


+ 1
- 1
INSTALL/README.md 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
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"

+ 3
- 3
account/account.go View File

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


+ 4
- 3
account/priv_account.go View File

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


+ 4
- 4
account/priv_key.go View File

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


+ 6
- 5
account/pub_key.go View File

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


+ 2
- 2
account/signature.go View File

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


+ 4
- 3
account/signature_test.go View File

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


+ 1
- 1
alert/alert.go View File

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


+ 2
- 1
alert/config.go View File

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


+ 1
- 1
alert/log.go View File

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

+ 1
- 1
blockchain/log.go View File

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

+ 2
- 2
blockchain/pool.go View File

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


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

Loading…
Cancel
Save