diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-09-03 11:04:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-03 11:04:05 +0800 |
commit | 3410f1156703a7249bade6e3cc90b60a1fcefa54 (patch) | |
tree | e75bdecc1207322720335d33cf778c2d0c820323 /core/types/configuration.go | |
parent | c8d3092208f73ee991a123052a71b7dbf7fffc27 (diff) | |
download | dexon-consensus-3410f1156703a7249bade6e3cc90b60a1fcefa54.tar dexon-consensus-3410f1156703a7249bade6e3cc90b60a1fcefa54.tar.gz dexon-consensus-3410f1156703a7249bade6e3cc90b60a1fcefa54.tar.bz2 dexon-consensus-3410f1156703a7249bade6e3cc90b60a1fcefa54.tar.lz dexon-consensus-3410f1156703a7249bade6e3cc90b60a1fcefa54.tar.xz dexon-consensus-3410f1156703a7249bade6e3cc90b60a1fcefa54.tar.zst dexon-consensus-3410f1156703a7249bade6e3cc90b60a1fcefa54.zip |
core: minor change to governance interface (#90)
Diffstat (limited to 'core/types/configuration.go')
-rw-r--r-- | core/types/configuration.go | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/core/types/configuration.go b/core/types/configuration.go index 4158331..6011b19 100644 --- a/core/types/configuration.go +++ b/core/types/configuration.go @@ -23,8 +23,8 @@ type ConfigurationChangeEventType int // Event enums. const ( KChanged ConfigurationChangeEventType = iota - MembershipAdd - MembershipRemove + PhiRatioChanged + BlockProposingIntervalChanged ) // IntegerEventPayload is a general payload for integer type value. @@ -32,12 +32,6 @@ type IntegerEventPayload struct { Value int64 } -// MembershipEventPayload is the payload type for membership event. -type MembershipEventPayload struct { - ID ValidatorID - Evidence []byte -} - // ConfigurationChangeEvent specifies the event of membership changes. type ConfigurationChangeEvent struct { Epoch int |