diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-04 23:59:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:00 +0800 |
commit | 8a4919bb3311bb8874cb054fd6bc2b399fc86332 (patch) | |
tree | 6d27900c09877f9a0b6ba2c7627e95f912ff16bb /dex | |
parent | 850ae3d1c1543f6bfeaeca32e1abe1ce8c3ed58a (diff) | |
download | dexon-8a4919bb3311bb8874cb054fd6bc2b399fc86332.tar dexon-8a4919bb3311bb8874cb054fd6bc2b399fc86332.tar.gz dexon-8a4919bb3311bb8874cb054fd6bc2b399fc86332.tar.bz2 dexon-8a4919bb3311bb8874cb054fd6bc2b399fc86332.tar.lz dexon-8a4919bb3311bb8874cb054fd6bc2b399fc86332.tar.xz dexon-8a4919bb3311bb8874cb054fd6bc2b399fc86332.tar.zst dexon-8a4919bb3311bb8874cb054fd6bc2b399fc86332.zip |
vendor: sync to latest core (#129)
Diffstat (limited to 'dex')
-rw-r--r-- | dex/governance.go | 9 |
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. +} |