aboutsummaryrefslogtreecommitdiffstats
path: root/core/interfaces.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/interfaces.go')
-rw-r--r--core/interfaces.go6
1 files changed, 6 insertions, 0 deletions
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.