diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-02 17:07:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-02 17:07:05 +0800 |
commit | 0382bbafbee5ffb820b9d31f7cfe8f6a48968a48 (patch) | |
tree | 3140508a5528d73e4cf4cca145800dfa3ba7ed7a /core/utils/round-event.go | |
parent | 35f3fe0b857e8006de345505d7fc09c0b7c10326 (diff) | |
download | dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar.gz dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar.bz2 dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar.lz dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar.xz dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.tar.zst dexon-consensus-0382bbafbee5ffb820b9d31f7cfe8f6a48968a48.zip |
core: optimize message handle (#542)
* core: optimize for handling agremenet result
* core: disable clone vote
* core: touch npks
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 472c724..602d2da 100644 --- a/core/utils/round-event.go +++ b/core/utils/round-event.go @@ -79,7 +79,7 @@ func (e RoundEventParam) NextRoundHeight() uint64 { // NextTouchNodeSetCacheHeight returns the height to touch the node set cache. func (e RoundEventParam) NextTouchNodeSetCacheHeight() uint64 { - return e.BeginHeight + e.Config.RoundLength*9/10 + return e.BeginHeight + e.Config.RoundLength/2 } // NextDKGResetHeight returns the height to reset DKG for next period. |