diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-19 16:53:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 16:53:34 +0800 |
commit | 448935829700500ecf512b9e0a6437cbb63504b3 (patch) | |
tree | 6a9eb7439f2e8caf60000a14215ce92cd078a518 /core/interfaces.go | |
parent | 3785190d9154acb0492dd22b6d62e953a0bcf453 (diff) | |
download | tangerine-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar tangerine-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.gz tangerine-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.bz2 tangerine-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.lz tangerine-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.xz tangerine-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.zst tangerine-consensus-448935829700500ecf512b9e0a6437cbb63504b3.zip |
core: remove round from addDKG fuction (#501)
Diffstat (limited to 'core/interfaces.go')
-rw-r--r-- | core/interfaces.go | 8 |
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 |