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

[Trivial] Remove spammy log in CheckSignature #1438

Merged

Conversation

random-zebra
Copy link

Remove extra logs in CSignedMessage::CheckSignature.
This method is inherited by all classes extending CSignedMessage and its log does not give useful information to the verifier at all (it's not even clear what is the class in question). Might just be of some help when signing (VerifyHash is called from within CSignedMessage::Sign too).
All relevant logs for verifiers are already provided by the caller - e.g.

if (!mess.CheckSignature()) { /* log something */ }

@random-zebra random-zebra added Trivial extremely simple issues Util / log / libs labels Mar 20, 2020
@random-zebra random-zebra added this to the 4.1.0 milestone Mar 20, 2020
@random-zebra random-zebra self-assigned this Mar 20, 2020
Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

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

utACK e2c3e77.

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

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

utACK e2c3e77

@random-zebra random-zebra merged commit 37d53b7 into PIVX-Project:master Mar 27, 2020
akshaynexus pushed a commit to ZENZO-Ecosystem/ZENZO-Core that referenced this pull request Mar 30, 2020
e2c3e77 [Trivial] Remove spammy log in CheckSignature (random-zebra)

Pull request description:

  Remove extra logs in `CSignedMessage::CheckSignature`.
  This method is inherited by all classes extending `CSignedMessage` and its log does not give useful information to the verifier at all (it's not even clear what is the class in question). Might just be of some help when signing (`VerifyHash` is called from within `CSignedMessage::Sign` too).
  All relevant logs for verifiers are already provided by the caller - e.g.
  ```cpp
  if (!mess.CheckSignature()) { /* log something */ }
  ```

ACKs for top commit:
  furszy:
    utACK e2c3e77.
  Fuzzbawls:
    utACK e2c3e77

Tree-SHA512: cf7e24aed86f26f6895289ebc07ece268864836f954372db4834e94f7aac9192bd97d6dec6269efe9c3ee6ce601a8fabd2fc98b29c91e6230bfb9d0386d06727
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Trivial extremely simple issues Util / log / libs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants