Skip to content

Conversation

@KonradStaniec
Copy link
Contributor

Description

Added more logs in blockchain handling of current block numbers

@KonradStaniec KonradStaniec requested a review from ntallar November 9, 2020 10:54
parentHash = parent.header.parentHash
parentWeight <- blockchain.getChainWeightByHash(parentHash)
} yield {
log.debug("Removing blocks starting from {}", bestNumber)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we log also parentHash?

Copy link

@ntallar ntallar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

 .\\            //.
. \ \          / /.
.\  ,\     /` /,.-
 -.   \  /'/ /  .
 ` -   `-'  \  -
   '.       /.\`
      -    .-
      :`//.'
      .`.'
      .' BP 

@KonradStaniec KonradStaniec merged commit ccc0c91 into develop Nov 10, 2020
@KonradStaniec KonradStaniec deleted the etcm-302/add-more-logging-to-best-block-handling branch November 10, 2020 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants