aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-01-04 23:59:17 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit1c4c0eb0e289f8325141d80d2e467ab4a6c38900 (patch)
tree704e0866a95dcc522c6fac877520b0462e5d5f15 /dex
parent1711f76e64e6828e0753dda7093c638742fdc53e (diff)
downloaddexon-1c4c0eb0e289f8325141d80d2e467ab4a6c38900.tar
dexon-1c4c0eb0e289f8325141d80d2e467ab4a6c38900.tar.gz
dexon-1c4c0eb0e289f8325141d80d2e467ab4a6c38900.tar.bz2
dexon-1c4c0eb0e289f8325141d80d2e467ab4a6c38900.tar.lz
dexon-1c4c0eb0e289f8325141d80d2e467ab4a6c38900.tar.xz
dexon-1c4c0eb0e289f8325141d80d2e467ab4a6c38900.tar.zst
dexon-1c4c0eb0e289f8325141d80d2e467ab4a6c38900.zip
vendor: sync to latest core (#129)
Diffstat (limited to 'dex')
-rw-r--r--dex/governance.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/dex/governance.go b/dex/governance.go
index bcc2cca51..199bcdc87 100644
--- a/dex/governance.go
+++ b/dex/governance.go
@@ -27,6 +27,7 @@ import (
dexCore "github.com/dexon-foundation/dexon-consensus/core"
coreCrypto "github.com/dexon-foundation/dexon-consensus/core/crypto"
coreEcdsa "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
+ coreTypes "github.com/dexon-foundation/dexon-consensus/core/types"
dkgTypes "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
"github.com/dexon-foundation/dexon/common"
@@ -291,3 +292,11 @@ func (d *DexconGovernance) DKGSet(round uint64) (map[string]struct{}, error) {
}
return r, nil
}
+
+func (d *DexconGovernance) ReportForkVote(vote1, vote2 *coreTypes.Vote) {
+ // TODO: finish this.
+}
+
+func (d *DexconGovernance) ReportForkBlock(block1, block2 *coreTypes.Block) {
+ // TODO: finish this.
+}