Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: tweak log levels and add logs #151

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

yangby-cryptape
Copy link
Collaborator

  • tweak log levels

    After light client reaches the latest block, then:

    • If it has N peers, copy prove state from peer will be output N-1 times for every block.
    • no check point is found will be output 1999 times per 2000 blocks.
      So, change levels for those logs to trace.
  • add logs

    At present, if trace logs are enabled, only the block numbers are output when print difficulties distribution.

    So, print block hashes at function entry.

@quake quake merged commit 4bd63d1 into nervosnetwork:develop Sep 26, 2023
5 of 6 checks passed
@yangby-cryptape yangby-cryptape deleted the chore/tweak-logs branch September 28, 2023 02:22
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.

2 participants