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@byzantine-lab.io>2019-06-12 17:27:21 +0800
commitf2865a49b3a18f7d02886a831a14d99033bf43ae (patch)
treed6f3d8fab446222fe3d5f4d3bea557a9f279ee30 /dex
parent30950e88c8c96b583b34da0a8ec1e2b44b4e1b0b (diff)
downloadgo-tangerine-f2865a49b3a18f7d02886a831a14d99033bf43ae.tar
go-tangerine-f2865a49b3a18f7d02886a831a14d99033bf43ae.tar.gz
go-tangerine-f2865a49b3a18f7d02886a831a14d99033bf43ae.tar.bz2
go-tangerine-f2865a49b3a18f7d02886a831a14d99033bf43ae.tar.lz
go-tangerine-f2865a49b3a18f7d02886a831a14d99033bf43ae.tar.xz
go-tangerine-f2865a49b3a18f7d02886a831a14d99033bf43ae.tar.zst
go-tangerine-f2865a49b3a18f7d02886a831a14d99033bf43ae.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.
+}