-
Notifications
You must be signed in to change notification settings - Fork 130
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also noticed that this is being logged at info level. Think this should be debug level
NewRoundMessageValidator | No round change messages have a preparedCertificate, any valid block may be proposed.
@@ -193,18 +193,21 @@ public void handleCommitPayload(final Commit commit) { | |||
@Override | |||
public void handleRoundChangePayload(final RoundChange message) { | |||
final ConsensusRoundIdentifier targetRound = message.getRoundIdentifier(); | |||
LOG.info("Received a RoundChange Payload for {}", targetRound.toString()); | |||
LOG.trace("Received a RoundChange Payload for {}", targetRound.toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to do toString on targetRound
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
.../src/main/java/tech/pegasys/pantheon/consensus/ibft/statemachine/IbftBlockHeightManager.java
Show resolved
Hide resolved
.../src/main/java/tech/pegasys/pantheon/consensus/ibft/statemachine/IbftBlockHeightManager.java
Show resolved
Hide resolved
.../src/main/java/tech/pegasys/pantheon/consensus/ibft/statemachine/IbftBlockHeightManager.java
Show resolved
Hide resolved
@@ -158,8 +158,9 @@ private void handleMessage(final Message message) { | |||
public void handleNewBlockEvent(final NewChainHead newChainHead) { | |||
final BlockHeader newBlockHeader = newChainHead.getNewChainHeadHeader(); | |||
final BlockHeader currentMiningParent = currentHeightManager.getParentBlockHeader(); | |||
LOG.debug("Handling New Chain head event, chain length = {}", currentMiningParent.getNumber()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't this the chain height not chain length? elsewhere is logs I think block is just used to infer block number.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to be chain height.
went with trace - this is a really normal thing to happen, its not even debug in my opinion. |
No description provided.