From 1dae18a03ae58e4b98a81a1596fedb9cb2b893e6 Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Fri, 21 Dec 2018 12:03:28 +0800 Subject: core: vm: Add `MPKReady` to governance (#97) * core/vm: Add DKGMPKReady * param: update GenesisHash * vendor: sync to latest core --- .../github.com/dexon-foundation/dexon-consensus/core/interfaces.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vendor/github.com/dexon-foundation/dexon-consensus/core/interfaces.go') diff --git a/vendor/github.com/dexon-foundation/dexon-consensus/core/interfaces.go b/vendor/github.com/dexon-foundation/dexon-consensus/core/interfaces.go index 2ebfe8621..fc3bf09bc 100644 --- a/vendor/github.com/dexon-foundation/dexon-consensus/core/interfaces.go +++ b/vendor/github.com/dexon-foundation/dexon-consensus/core/interfaces.go @@ -130,6 +130,12 @@ type Governance interface { // DKGMasterPublicKeys gets all the DKGMasterPublicKey of round. DKGMasterPublicKeys(round uint64) []*typesDKG.MasterPublicKey + // AddDKGMPKReady adds a DKG ready message. + AddDKGMPKReady(round uint64, ready *typesDKG.MPKReady) + + // IsDKGFinal checks if DKG is ready. + IsDKGMPKReady(round uint64) bool + // AddDKGFinalize adds a DKG finalize message. AddDKGFinalize(round uint64, final *typesDKG.Finalize) -- cgit