aboutsummaryrefslogtreecommitdiffstats
path: root/core/interfaces.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-02 14:06:25 +0800
committerGitHub <noreply@github.com>2018-10-02 14:06:25 +0800
commitd7f6db871180b53548aed6a5450e1c5879c90b04 (patch)
treec70b9ef766c3b649c8ca3ac93d79f6f1794be3ce /core/interfaces.go
parent658662d42d30c58e4f3951f5c1e99688de295397 (diff)
downloaddexon-consensus-d7f6db871180b53548aed6a5450e1c5879c90b04.tar
dexon-consensus-d7f6db871180b53548aed6a5450e1c5879c90b04.tar.gz
dexon-consensus-d7f6db871180b53548aed6a5450e1c5879c90b04.tar.bz2
dexon-consensus-d7f6db871180b53548aed6a5450e1c5879c90b04.tar.lz
dexon-consensus-d7f6db871180b53548aed6a5450e1c5879c90b04.tar.xz
dexon-consensus-d7f6db871180b53548aed6a5450e1c5879c90b04.tar.zst
dexon-consensus-d7f6db871180b53548aed6a5450e1c5879c90b04.zip
core: remove ProposeThresholdSignature/GetThresholdSignature (#158)
Also rename the argument name of ProposeCRS.
Diffstat (limited to 'core/interfaces.go')
-rw-r--r--core/interfaces.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/interfaces.go b/core/interfaces.go
index dcaa0c4..d1868a5 100644
--- a/core/interfaces.go
+++ b/core/interfaces.go
@@ -88,18 +88,12 @@ type Governance interface {
GetCRS(round uint64) common.Hash
// Propose a CRS of round.
- ProposeCRS(round uint64, crs []byte)
+ ProposeCRS(round uint64, signedCRS []byte)
// GetNodeSet returns the node set at a given round.
// Return the genesis node set if round == 0.
GetNodeSet(round uint64) []crypto.PublicKey
- // Porpose a ThresholdSignature of round.
- ProposeThresholdSignature(round uint64, signature crypto.Signature)
-
- // Get a ThresholdSignature of round.
- GetThresholdSignature(round uint64) (crypto.Signature, bool)
-
//// DKG-related methods.
// AddDKGComplaint adds a DKGComplaint.