From 9267d50de25ddf0f280eee797e2030ea989294e4 Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Tue, 9 Oct 2018 10:04:28 +0800 Subject: core: Add DKG final message. (#181) --- core/interfaces.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/interfaces.go') diff --git a/core/interfaces.go b/core/interfaces.go index 3497535..9232251 100644 --- a/core/interfaces.go +++ b/core/interfaces.go @@ -116,6 +116,12 @@ type Governance interface { // DKGMasterPublicKeys gets all the DKGMasterPublicKey of round. DKGMasterPublicKeys(round uint64) []*types.DKGMasterPublicKey + + // AddDKGFinalize adds a DKG finalize message. + AddDKGFinalize(final *types.DKGFinalize) + + // IsDKGFinal checks if DKG is final. + IsDKGFinal(round uint64) bool } // Ticker define the capability to tick by interval. -- cgit v1.2.3