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