aboutsummaryrefslogtreecommitdiffstats
path: root/dex/blockproposer.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:31:08 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-09-17 16:57:29 +0800
commitac088de6322fc16ebe75c2e5554be73754bf1fe2 (patch)
tree086b7827d46a4d07b834cd94be73beaabb77b734 /dex/blockproposer.go
parent67d565f3f0e398e99bef96827f729e3e4b0edf31 (diff)
downloadgo-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.gz
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.bz2
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.lz
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.xz
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.tar.zst
go-tangerine-ac088de6322fc16ebe75c2e5554be73754bf1fe2.zip
Rebrand as tangerine-network/go-tangerine
Diffstat (limited to 'dex/blockproposer.go')
-rw-r--r--dex/blockproposer.go22
1 files changed, 11 insertions, 11 deletions
diff --git a/dex/blockproposer.go b/dex/blockproposer.go
index d675da4ac..f280d409e 100644
--- a/dex/blockproposer.go
+++ b/dex/blockproposer.go
@@ -7,15 +7,15 @@ import (
"sync/atomic"
"time"
- dexCore "github.com/dexon-foundation/dexon-consensus/core"
- coreEcdsa "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/syncer"
- coreTypes "github.com/dexon-foundation/dexon-consensus/core/types"
-
- "github.com/dexon-foundation/dexon/core"
- "github.com/dexon-foundation/dexon/dex/db"
- "github.com/dexon-foundation/dexon/log"
- "github.com/dexon-foundation/dexon/rlp"
+ dexCore "github.com/byzantine-lab/dexon-consensus/core"
+ coreEcdsa "github.com/byzantine-lab/dexon-consensus/core/crypto/ecdsa"
+ "github.com/byzantine-lab/dexon-consensus/core/syncer"
+ coreTypes "github.com/byzantine-lab/dexon-consensus/core/types"
+
+ "github.com/tangerine-network/go-tangerine/core"
+ "github.com/tangerine-network/go-tangerine/dex/db"
+ "github.com/tangerine-network/go-tangerine/log"
+ "github.com/tangerine-network/go-tangerine/rlp"
)
var (
@@ -27,7 +27,7 @@ type blockProposer struct {
running int32
syncing int32
proposing int32
- dex *Dexon
+ dex *Tangerine
watchCat *syncer.WatchCat
dMoment time.Time
@@ -35,7 +35,7 @@ type blockProposer struct {
stopCh chan struct{}
}
-func NewBlockProposer(dex *Dexon, watchCat *syncer.WatchCat, dMoment time.Time) *blockProposer {
+func NewBlockProposer(dex *Tangerine, watchCat *syncer.WatchCat, dMoment time.Time) *blockProposer {
return &blockProposer{
dex: dex,
watchCat: watchCat,