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

Drop log category in SeedStartup #29480

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Feb 26, 2024

This LogPrint(BCLog::RAND, ...) is never logged because the SeedStartup function is called at a very early stage, such as during the instantiation of the static CSignatureCache object, before any log categories are added. This PR fixes this behavior.

This `LogPrint(BCLog::RAND, ...)` is never logged because the
`SeedStartup` function is called at a very early stage, such as during
the instantiation of the static `CSignatureCache` object, before any log
categories are added. This change addresses this behavior.
@DrahtBot
Copy link
Contributor

DrahtBot commented Feb 26, 2024

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK hernanmarino

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #29625 (Several randomness improvements by sipa)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Mar 5, 2024
This `LogPrint(BCLog::RAND, ...)` is never logged because the
`SeedStartup` function is called at a very early stage, such as during
the instantiation of the static `CSignatureCache` object, before any log
categories are added. This change addresses this behavior.

Github-Pull: bitcoin#29480 (rewritten)
Copy link
Contributor

@hernanmarino hernanmarino left a comment

Choose a reason for hiding this comment

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

ACK 88468a8

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.

None yet

3 participants