aboutsummaryrefslogtreecommitdiffstats
path: root/dex/config.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-19 18:52:38 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:50 +0800
commit00e8f2d99b3c6b27d8047712baf5bbb6150dc273 (patch)
treeb36879b60e89210e664a7007d08fcd5a990e613d /dex/config.go
parentb52b1b2106f075260674660638aa60fe5ec81f87 (diff)
downloaddexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar.gz
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar.bz2
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar.lz
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar.xz
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar.zst
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.zip
consensus: dexcon: fetch config from state
Diffstat (limited to 'dex/config.go')
-rw-r--r--dex/config.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/dex/config.go b/dex/config.go
index a3b682de0..5eff28022 100644
--- a/dex/config.go
+++ b/dex/config.go
@@ -25,7 +25,6 @@ import (
"runtime"
"time"
- "github.com/dexon-foundation/dexon/consensus/dexcon"
"github.com/dexon-foundation/dexon/core"
"github.com/dexon-foundation/dexon/dex/gasprice"
"github.com/dexon-foundation/dexon/eth/downloader"
@@ -35,7 +34,6 @@ import (
// DefaultConfig contains default settings for use on the Ethereum main net.
var DefaultConfig = Config{
SyncMode: downloader.FastSync,
- Dexcon: dexcon.Config{},
NetworkId: 1,
LightPeers: 100,
DatabaseCache: 768,
@@ -102,9 +100,6 @@ type Config struct {
GasCeil uint64
GasLimitTolerance uint64
- // Dexcon options
- Dexcon dexcon.Config
-
// Transaction pool options
TxPool core.TxPoolConfig