aboutsummaryrefslogtreecommitdiffstats
path: root/core/interfaces.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-10-01 11:55:53 +0800
committerGitHub <noreply@github.com>2018-10-01 11:55:53 +0800
commite223a62e70a0a874fcf85e4b9c010741414f100e (patch)
tree79896ff732feb0331f9b49aaee1e21d5ba7e9542 /core/interfaces.go
parentf2c13bd773c9684356a8a992d783916d49e70b59 (diff)
downloadtangerine-consensus-e223a62e70a0a874fcf85e4b9c010741414f100e.tar
tangerine-consensus-e223a62e70a0a874fcf85e4b9c010741414f100e.tar.gz
tangerine-consensus-e223a62e70a0a874fcf85e4b9c010741414f100e.tar.bz2
tangerine-consensus-e223a62e70a0a874fcf85e4b9c010741414f100e.tar.lz
tangerine-consensus-e223a62e70a0a874fcf85e4b9c010741414f100e.tar.xz
tangerine-consensus-e223a62e70a0a874fcf85e4b9c010741414f100e.tar.zst
tangerine-consensus-e223a62e70a0a874fcf85e4b9c010741414f100e.zip
core: use notarySet for BA module. (#153)
Diffstat (limited to 'core/interfaces.go')
-rw-r--r--core/interfaces.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/interfaces.go b/core/interfaces.go
index 0319e8d..37adf36 100644
--- a/core/interfaces.go
+++ b/core/interfaces.go
@@ -97,6 +97,9 @@ type Governance interface {
// Return the genesis CRS if round == 0.
GetCRS(round uint64) []byte
+ // Propose a CRS of round.
+ ProposeCRS(round uint64, crs []byte)
+
// GetNodeSet returns the node set at a given round.
// Return the genesis node set if round == 0.
GetNodeSet(round uint64) []crypto.PublicKey