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

[Logging] Define a STAKING log category. #928

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

Zannick
Copy link
Collaborator

@Zannick Zannick commented Apr 13, 2021

Problem

BLOCKCREATION is a very noisy log category. It includes DarkGravityWave logs (which are noisy), staking messages, and generic block creation logs.

Root Cause

Not enough log categories.

Solution

Added a new log category specific to staking. Staking-relevant messages that were previously BLOCKCREATION have been moved over.

Bounty PR

None

Bounty Payment Address

sv1qqpswvjy7s9yrpcmrt3fu0kd8rutrdlq675ntyjxjzn09f965z9dutqpqgg85esvg8mhmyka5kq5vae0qnuw4428vs9d2gu4nz643jv5a72wkqqq73mnxr

Unit Testing Results

Tested on win10 x64 WLS Ubuntu 20.04: built and ran unittests individually, comparing results to a previous master commit.

@codeofalltrades codeofalltrades added Component: Miner Both PoW and PoS block creation Tag: PoS Related to Proof of Stake Tag: Waiting For Code Review Waiting for code review from a core developer labels Apr 13, 2021
Copy link
Collaborator

@codeofalltrades codeofalltrades left a comment

Choose a reason for hiding this comment

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

ACK 140333a

Copy link
Collaborator

@CaveSpectre11 CaveSpectre11 left a comment

Choose a reason for hiding this comment

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

utACK 140333a

with one minor nit

This allows separation of log messages related to staking from log messages
about block creation, which currently includes all generic block creation
messages as well as DarkGravityWave difficulty measurements.
@codeofalltrades codeofalltrades added Code Review: Passed and removed Tag: Waiting For Code Review Waiting for code review from a core developer labels Apr 19, 2021
@codeofalltrades codeofalltrades merged commit 02cc068 into Veil-Project:master Apr 19, 2021
@Zannick Zannick deleted the bclog branch May 18, 2021 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Review: Passed Component: Miner Both PoW and PoS block creation Tag: PoS Related to Proof of Stake
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants