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
+1 -1
View File
@@ -1,7 +1,7 @@
package consensus
import (
cfg "github.com/tendermint/tendermint/config"
cfg "github.com/tendermint/go-config"
)
var config cfg.Config = nil
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"strings"
"sync"
. "github.com/tendermint/tendermint/common"
. "github.com/tendermint/go-common"
"github.com/tendermint/tendermint/types"
)
+1 -1
View File
@@ -1,7 +1,7 @@
package consensus
import (
"github.com/tendermint/tendermint/logger"
"github.com/tendermint/go-logger"
)
var log = logger.New("module", "consensus")
+4 -3
View File
@@ -1,3 +1,4 @@
package consensus
import (
@@ -9,12 +10,12 @@ import (
"time"
bc "github.com/tendermint/tendermint/blockchain"
. "github.com/tendermint/tendermint/common"
. "github.com/tendermint/go-common"
"github.com/tendermint/tendermint/events"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/go-p2p"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/wire"
"github.com/tendermint/go-wire"
)
const (
+2 -2
View File
@@ -159,12 +159,12 @@ import (
acm "github.com/tendermint/tendermint/account"
bc "github.com/tendermint/tendermint/blockchain"
. "github.com/tendermint/tendermint/common"
. "github.com/tendermint/go-common"
"github.com/tendermint/tendermint/events"
mempl "github.com/tendermint/tendermint/mempool"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/wire"
"github.com/tendermint/go-wire"
)
var (
+1
View File
@@ -1,3 +1,4 @@
package consensus
import (
+2 -2
View File
@@ -7,10 +7,10 @@ import (
"time"
bc "github.com/tendermint/tendermint/blockchain"
dbm "github.com/tendermint/tendermint/db"
dbm "github.com/tendermint/go-db"
"github.com/tendermint/tendermint/events"
mempl "github.com/tendermint/tendermint/mempool"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/go-p2p"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
)