aboutsummaryrefslogtreecommitdiffstats
path: root/core/interfaces.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-09-03 11:59:03 +0800
committerGitHub <noreply@github.com>2018-09-03 11:59:03 +0800
commit09393166791785ab6730b1c812b4a4fd07a92293 (patch)
tree0606f440bdd44eeac09f025de2fd4f86d48886f0 /core/interfaces.go
parent3410f1156703a7249bade6e3cc90b60a1fcefa54 (diff)
downloadtangerine-consensus-09393166791785ab6730b1c812b4a4fd07a92293.tar
tangerine-consensus-09393166791785ab6730b1c812b4a4fd07a92293.tar.gz
tangerine-consensus-09393166791785ab6730b1c812b4a4fd07a92293.tar.bz2
tangerine-consensus-09393166791785ab6730b1c812b4a4fd07a92293.tar.lz
tangerine-consensus-09393166791785ab6730b1c812b4a4fd07a92293.tar.xz
tangerine-consensus-09393166791785ab6730b1c812b4a4fd07a92293.tar.zst
tangerine-consensus-09393166791785ab6730b1c812b4a4fd07a92293.zip
Add GetChainNumber to Goverance (#92)
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 44f2308..080db20 100644
--- a/core/interfaces.go
+++ b/core/interfaces.go
@@ -84,6 +84,9 @@ type Governance interface {
// Get block proposing interval (in milliseconds).
GetBlockProposingInterval() int
+ // Get Number of Chains.
+ GetChainNumber() uint32
+
// Get Genesis CRS.
GetGenesisCRS() string