aboutsummaryrefslogtreecommitdiffstats
path: root/core/interfaces.go
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-11-13 16:28:24 +0800
committerGitHub <noreply@github.com>2018-11-13 16:28:24 +0800
commit01642721a7768218e7f9a5be8f0829eb8ae7c7b1 (patch)
treea8ebe89570de317d7be047f32c8c35334e78c919 /core/interfaces.go
parent86838fe70789292de0851f82426e5241c0f0cc96 (diff)
downloaddexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.gz
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.bz2
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.lz
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.xz
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.zst
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.zip
core: expose implicit round shift (#321)
Diffstat (limited to 'core/interfaces.go')
-rw-r--r--core/interfaces.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/interfaces.go b/core/interfaces.go
index 3a9c075..e07476d 100644
--- a/core/interfaces.go
+++ b/core/interfaces.go
@@ -111,8 +111,8 @@ type Governance interface {
// Return the genesis node set if round == 0.
NodeSet(round uint64) []crypto.PublicKey
- // NotifyRoundHeight notifies governance contract to generate configuration
- // for that round with the block on that consensus height.
+ // NotifyRoundHeight notifies governance contract the consensus height of
+ // the first block of the given round.
NotifyRoundHeight(targetRound, consensusHeight uint64)
//// DKG-related methods.