aboutsummaryrefslogtreecommitdiffstats
path: root/core/interfaces.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-10-02 11:45:34 +0800
committerGitHub <noreply@github.com>2018-10-02 11:45:34 +0800
commit658662d42d30c58e4f3951f5c1e99688de295397 (patch)
tree41bb0f9129403eb1905172dc8409eac6761d5fea /core/interfaces.go
parent9c33b9dc8aa59d414a6697f1e2d036e5581860ee (diff)
downloadtangerine-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar
tangerine-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.gz
tangerine-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.bz2
tangerine-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.lz
tangerine-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.xz
tangerine-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.zst
tangerine-consensus-658662d42d30c58e4f3951f5c1e99688de295397.zip
core: run DKG and CRS at background. (#155)
Diffstat (limited to 'core/interfaces.go')
-rw-r--r--core/interfaces.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/interfaces.go b/core/interfaces.go
index 465a3ce..dcaa0c4 100644
--- a/core/interfaces.go
+++ b/core/interfaces.go
@@ -85,7 +85,7 @@ type Governance interface {
// GetCRS returns the CRS for a given round.
// Return the genesis CRS if round == 0.
- GetCRS(round uint64) []byte
+ GetCRS(round uint64) common.Hash
// Propose a CRS of round.
ProposeCRS(round uint64, crs []byte)