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

Fix block size corner case on generation #2637

Merged
merged 2 commits into from
Jul 13, 2018
Merged

Conversation

mvandeberg
Copy link
Contributor

Closes #2632

@mvandeberg mvandeberg force-pushed the 2632-block-generation-size branch from 1c79222 to ee343ee Compare July 13, 2018 19:09
@theoreticalbts
Copy link
Contributor

This should fix the problem. Approved.


signed_block pending_block;
idump( (total_block_size) );

Choose a reason for hiding this comment

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

Is this a debugging statement? Sorry for the newbie question, I couldn't find much about what "idump" does and was curious.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I thought I had removed them. idump is info level, dump object. There is also ilog for log at info level. And ddump, wdump, and edump for debug, warning, and error and their corresponding logs as well.

Choose a reason for hiding this comment

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

Thanks so much for explaining! :)

@mvandeberg mvandeberg force-pushed the 2632-block-generation-size branch from ee343ee to be028e3 Compare July 13, 2018 20:22
@mvandeberg mvandeberg merged commit ca1d3ac into master Jul 13, 2018
@mvandeberg mvandeberg deleted the 2632-block-generation-size branch July 13, 2018 22: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.

3 participants