aboutsummaryrefslogtreecommitdiffstats
path: root/core/interfaces.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-03-19 16:53:34 +0800
committerGitHub <noreply@github.com>2019-03-19 16:53:34 +0800
commit448935829700500ecf512b9e0a6437cbb63504b3 (patch)
tree6a9eb7439f2e8caf60000a14215ce92cd078a518 /core/interfaces.go
parent3785190d9154acb0492dd22b6d62e953a0bcf453 (diff)
downloaddexon-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar
dexon-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.gz
dexon-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.bz2
dexon-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.lz
dexon-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.xz
dexon-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.zst
dexon-consensus-448935829700500ecf512b9e0a6437cbb63504b3.zip
core: remove round from addDKG fuction (#501)
Diffstat (limited to 'core/interfaces.go')
-rw-r--r--core/interfaces.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/interfaces.go b/core/interfaces.go
index 707563f..06838e0 100644
--- a/core/interfaces.go
+++ b/core/interfaces.go
@@ -122,25 +122,25 @@ type Governance interface {
//// DKG-related methods.
// AddDKGComplaint adds a DKGComplaint.
- AddDKGComplaint(round uint64, complaint *typesDKG.Complaint)
+ AddDKGComplaint(complaint *typesDKG.Complaint)
// DKGComplaints gets all the DKGComplaints of round.
DKGComplaints(round uint64) []*typesDKG.Complaint
// AddDKGMasterPublicKey adds a DKGMasterPublicKey.
- AddDKGMasterPublicKey(round uint64, masterPublicKey *typesDKG.MasterPublicKey)
+ AddDKGMasterPublicKey(masterPublicKey *typesDKG.MasterPublicKey)
// DKGMasterPublicKeys gets all the DKGMasterPublicKey of round.
DKGMasterPublicKeys(round uint64) []*typesDKG.MasterPublicKey
// AddDKGMPKReady adds a DKG ready message.
- AddDKGMPKReady(round uint64, ready *typesDKG.MPKReady)
+ AddDKGMPKReady(ready *typesDKG.MPKReady)
// IsDKGMPKReady checks if DKG's master public key preparation is ready.
IsDKGMPKReady(round uint64) bool
// AddDKGFinalize adds a DKG finalize message.
- AddDKGFinalize(round uint64, final *typesDKG.Finalize)
+ AddDKGFinalize(final *typesDKG.Finalize)
// IsDKGFinal checks if DKG is final.
IsDKGFinal(round uint64) bool