aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/config.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-09-25 18:52:35 +0800
committermissionliao <38416648+missionliao@users.noreply.github.com>2018-09-25 18:52:35 +0800
commit0ffea9dadcfc0d8a740942a2d666eccc00613cd4 (patch)
tree7984fd6c5a58abc96b1a808efb89806d48612299 /core/types/config.go
parentd844c339a128322dff180a6ccc6e6b241e917546 (diff)
downloadtangerine-consensus-0ffea9dadcfc0d8a740942a2d666eccc00613cd4.tar
tangerine-consensus-0ffea9dadcfc0d8a740942a2d666eccc00613cd4.tar.gz
tangerine-consensus-0ffea9dadcfc0d8a740942a2d666eccc00613cd4.tar.bz2
tangerine-consensus-0ffea9dadcfc0d8a740942a2d666eccc00613cd4.tar.lz
tangerine-consensus-0ffea9dadcfc0d8a740942a2d666eccc00613cd4.tar.xz
tangerine-consensus-0ffea9dadcfc0d8a740942a2d666eccc00613cd4.tar.zst
tangerine-consensus-0ffea9dadcfc0d8a740942a2d666eccc00613cd4.zip
core: update governance interface to consider genesis state (#136)
Diffstat (limited to 'core/types/config.go')
-rw-r--r--core/types/config.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/types/config.go b/core/types/config.go
index 4f5bd6e..3c0bced 100644
--- a/core/types/config.go
+++ b/core/types/config.go
@@ -21,10 +21,12 @@ import "time"
// Config stands for Current Configuration Parameters.
type Config struct {
+ // CRS.
+ CRS []byte
+
// Network related.
- NumShards uint32
- NumChains uint32
- GenesisCRS string
+ NumShards uint32
+ NumChains uint32
// Lambda related.
LambdaBA time.Duration