diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-15 11:44:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-15 11:44:04 +0800 |
commit | 79be89a6b0b1d24b889e7c9fe0244026af4d49d0 (patch) | |
tree | bacd2dd8a224d2cffbe9965439707df7fa2888de /core/utils/round-event.go | |
parent | 7abe09214fbf04f9f1f7f4f6ec57cd1f924953d6 (diff) | |
download | tangerine-consensus-79be89a6b0b1d24b889e7c9fe0244026af4d49d0.tar tangerine-consensus-79be89a6b0b1d24b889e7c9fe0244026af4d49d0.tar.gz tangerine-consensus-79be89a6b0b1d24b889e7c9fe0244026af4d49d0.tar.bz2 tangerine-consensus-79be89a6b0b1d24b889e7c9fe0244026af4d49d0.tar.lz tangerine-consensus-79be89a6b0b1d24b889e7c9fe0244026af4d49d0.tar.xz tangerine-consensus-79be89a6b0b1d24b889e7c9fe0244026af4d49d0.tar.zst tangerine-consensus-79be89a6b0b1d24b889e7c9fe0244026af4d49d0.zip |
core: Add DKGSuccess (#569)
* core: Add DKGSuccess
* core: reset if not enough of dkg success
Diffstat (limited to 'core/utils/round-event.go')
-rw-r--r-- | core/utils/round-event.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils/round-event.go b/core/utils/round-event.go index 602d2da..b1d4d23 100644 --- a/core/utils/round-event.go +++ b/core/utils/round-event.go @@ -84,7 +84,7 @@ func (e RoundEventParam) NextTouchNodeSetCacheHeight() uint64 { // NextDKGResetHeight returns the height to reset DKG for next period. func (e RoundEventParam) NextDKGResetHeight() uint64 { - return e.BeginHeight + e.Config.RoundLength*8/10 + return e.BeginHeight + e.Config.RoundLength*85/100 } // NextDKGRegisterHeight returns the height to register DKG. |