diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-12-18 10:02:30 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:19 +0800 |
commit | 70ab62c1b72c6fef8dd2c8e405d7f9823f70f475 (patch) | |
tree | 114f68dd0281d972b18e875c3f34a83af7d5962d /dex/backend.go | |
parent | aa34cc1069a815ed66ec8fae0988fc4f29687bfd (diff) | |
download | go-tangerine-70ab62c1b72c6fef8dd2c8e405d7f9823f70f475.tar go-tangerine-70ab62c1b72c6fef8dd2c8e405d7f9823f70f475.tar.gz go-tangerine-70ab62c1b72c6fef8dd2c8e405d7f9823f70f475.tar.bz2 go-tangerine-70ab62c1b72c6fef8dd2c8e405d7f9823f70f475.tar.lz go-tangerine-70ab62c1b72c6fef8dd2c8e405d7f9823f70f475.tar.xz go-tangerine-70ab62c1b72c6fef8dd2c8e405d7f9823f70f475.tar.zst go-tangerine-70ab62c1b72c6fef8dd2c8e405d7f9823f70f475.zip |
vendor: sync to latest core (#91)
- Implement new methods in db to cache DKG
private key.
- Implement new methods in db to cache compaction
chain tip.
Diffstat (limited to 'dex/backend.go')
-rw-r--r-- | dex/backend.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dex/backend.go b/dex/backend.go index 5ea30b1a9..2c87425de 100644 --- a/dex/backend.go +++ b/dex/backend.go @@ -31,7 +31,7 @@ import ( "github.com/dexon-foundation/dexon/core/bloombits" "github.com/dexon-foundation/dexon/core/rawdb" "github.com/dexon-foundation/dexon/core/vm" - "github.com/dexon-foundation/dexon/dex/blockdb" + dexDB "github.com/dexon-foundation/dexon/dex/db" "github.com/dexon-foundation/dexon/dex/downloader" "github.com/dexon-foundation/dexon/eth/filters" "github.com/dexon-foundation/dexon/eth/gasprice" @@ -170,7 +170,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Dexon, error) { log.Info("DEXON Consensus DMoment", "time", dMoment) dex.consensus = dexCore.NewConsensus(dMoment, - dex.app, dex.governance, blockdb.NewDatabase(chainDb), dex.network, privKey, log.Root()) + dex.app, dex.governance, dexDB.NewDatabase(chainDb), dex.network, privKey, log.Root()) return dex, nil } |