aboutsummaryrefslogtreecommitdiffstats
path: root/consensus
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-09-25 18:55:00 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:48 +0800
commit953e13b21b0aae335ef655a1907a8883f1ba7be2 (patch)
tree21e929fc76c53cd61593673368e5187d62eac2e0 /consensus
parentb05f0240d48ba0c0c3f9cb1fec948b05733f2ba3 (diff)
downloaddexon-953e13b21b0aae335ef655a1907a8883f1ba7be2.tar
dexon-953e13b21b0aae335ef655a1907a8883f1ba7be2.tar.gz
dexon-953e13b21b0aae335ef655a1907a8883f1ba7be2.tar.bz2
dexon-953e13b21b0aae335ef655a1907a8883f1ba7be2.tar.lz
dexon-953e13b21b0aae335ef655a1907a8883f1ba7be2.tar.xz
dexon-953e13b21b0aae335ef655a1907a8883f1ba7be2.tar.zst
dexon-953e13b21b0aae335ef655a1907a8883f1ba7be2.zip
Use dex.Config instead of eth.Config
Diffstat (limited to 'consensus')
-rw-r--r--consensus/dexcon/dexcon.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/consensus/dexcon/dexcon.go b/consensus/dexcon/dexcon.go
index bbdd06ed8..2f9eaa046 100644
--- a/consensus/dexcon/dexcon.go
+++ b/consensus/dexcon/dexcon.go
@@ -27,6 +27,10 @@ import (
"github.com/ethereum/go-ethereum/rpc"
)
+// Config is the configuration for DEXON consensus.
+type Config struct {
+}
+
// Dexcon is a delegated proof-of-stake consensus engine.
type Dexcon struct {
config *params.DexconConfig