diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-12-26 15:23:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-26 15:23:54 +0800 |
commit | 39c02fe0f7c81491ea897fafcf32595d280bbdbe (patch) | |
tree | 1ac3d002de42bb7471624656713e331db55aaea2 /core/configuration-chain.go | |
parent | 00416c9df2fec5398389863fb6f885a1fe11a6cc (diff) | |
download | dexon-consensus-39c02fe0f7c81491ea897fafcf32595d280bbdbe.tar dexon-consensus-39c02fe0f7c81491ea897fafcf32595d280bbdbe.tar.gz dexon-consensus-39c02fe0f7c81491ea897fafcf32595d280bbdbe.tar.bz2 dexon-consensus-39c02fe0f7c81491ea897fafcf32595d280bbdbe.tar.lz dexon-consensus-39c02fe0f7c81491ea897fafcf32595d280bbdbe.tar.xz dexon-consensus-39c02fe0f7c81491ea897fafcf32595d280bbdbe.tar.zst dexon-consensus-39c02fe0f7c81491ea897fafcf32595d280bbdbe.zip |
core: fix stuffs (#383)
* Merge core.Consensus constructors
* Downgrade severity of logs
* Refine logic to add blocks from pool to lattice
* Add test.LaunchDummyReceiver
Diffstat (limited to 'core/configuration-chain.go')
-rw-r--r-- | core/configuration-chain.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/configuration-chain.go b/core/configuration-chain.go index ad24e44..5c389a7 100644 --- a/core/configuration-chain.go +++ b/core/configuration-chain.go @@ -135,7 +135,7 @@ func (cc *configurationChain) runDKG(round uint64) error { } cc.logger.Debug("Calling Governance.IsDKGMPKReady", "round", round) for !cc.gov.IsDKGMPKReady(round) { - cc.logger.Info("DKG MPKs are not ready yet. Try again later...", + cc.logger.Debug("DKG MPKs are not ready yet. Try again later...", "nodeID", cc.ID) cc.dkgLock.Unlock() time.Sleep(500 * time.Millisecond) @@ -206,7 +206,7 @@ func (cc *configurationChain) runDKG(round uint64) error { // unexpected network fluctuation and ensure the robustness of DKG protocol. cc.logger.Debug("Calling Governance.IsDKGFinal", "round", round) for !cc.gov.IsDKGFinal(round) { - cc.logger.Info("DKG is not ready yet. Try again later...", + cc.logger.Debug("DKG is not ready yet. Try again later...", "nodeID", cc.ID) time.Sleep(500 * time.Millisecond) } |