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
+4 -4
View File
@@ -5,11 +5,11 @@ import (
"sort"
acm "github.com/tendermint/tendermint/account"
. "github.com/tendermint/tendermint/common"
dbm "github.com/tendermint/tendermint/db"
"github.com/tendermint/tendermint/merkle"
. "github.com/tendermint/go-common"
dbm "github.com/tendermint/go-db"
"github.com/tendermint/go-merkle"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/wire"
"github.com/tendermint/go-wire"
)
func makeStorage(db dbm.DB, root []byte) merkle.Tree {
+1 -1
View File
@@ -2,7 +2,7 @@ package state
import (
acm "github.com/tendermint/tendermint/account"
. "github.com/tendermint/tendermint/common"
. "github.com/tendermint/go-common"
"github.com/tendermint/tendermint/vm"
)
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"fmt"
acm "github.com/tendermint/tendermint/account"
. "github.com/tendermint/tendermint/common"
. "github.com/tendermint/go-common"
"github.com/tendermint/tendermint/events"
ptypes "github.com/tendermint/tendermint/permission/types" // for GlobalPermissionAddress ...
"github.com/tendermint/tendermint/types"
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"fmt"
"testing"
tdb "github.com/tendermint/tendermint/db"
tdb "github.com/tendermint/go-db"
ptypes "github.com/tendermint/tendermint/permission/types"
. "github.com/tendermint/tendermint/state/types"
)
+1 -1
View File
@@ -1,7 +1,7 @@
package state
import (
"github.com/tendermint/tendermint/logger"
"github.com/tendermint/go-logger"
)
var log = logger.New("module", "state")
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"time"
acm "github.com/tendermint/tendermint/account"
. "github.com/tendermint/tendermint/common"
dbm "github.com/tendermint/tendermint/db"
. "github.com/tendermint/go-common"
dbm "github.com/tendermint/go-db"
"github.com/tendermint/tendermint/events"
ptypes "github.com/tendermint/tendermint/permission/types"
. "github.com/tendermint/tendermint/state/types"
+5 -4
View File
@@ -1,3 +1,4 @@
package state
import (
@@ -7,14 +8,14 @@ import (
"time"
acm "github.com/tendermint/tendermint/account"
. "github.com/tendermint/tendermint/common"
dbm "github.com/tendermint/tendermint/db"
. "github.com/tendermint/go-common"
dbm "github.com/tendermint/go-db"
"github.com/tendermint/tendermint/events"
"github.com/tendermint/tendermint/merkle"
"github.com/tendermint/go-merkle"
ptypes "github.com/tendermint/tendermint/permission/types"
. "github.com/tendermint/tendermint/state/types"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/wire"
"github.com/tendermint/go-wire"
)
var (
+1 -1
View File
@@ -2,7 +2,7 @@ package state
import (
acm "github.com/tendermint/tendermint/account"
. "github.com/tendermint/tendermint/common"
. "github.com/tendermint/go-common"
ptypes "github.com/tendermint/tendermint/permission/types" // for GlobalPermissionAddress ...
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/vm"
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"testing"
stypes "github.com/tendermint/tendermint/state/types"
"github.com/tendermint/tendermint/wire"
"github.com/tendermint/go-wire"
)
func TestStateToFromVMAccount(t *testing.T) {
+2 -2
View File
@@ -5,10 +5,10 @@ import (
"time"
acm "github.com/tendermint/tendermint/account"
. "github.com/tendermint/tendermint/common"
. "github.com/tendermint/go-common"
ptypes "github.com/tendermint/tendermint/permission/types"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/wire"
"github.com/tendermint/go-wire"
)
//------------------------------------------------------------