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

debug how long it takes to verify the kernel sums for fast sync #2602

Merged

Conversation

antiochp
Copy link
Member

Adds some useful logs showing how long it took to perform the validate_kernel_sums step during fast sync validation -

20190219 12:33:39.813 DEBUG grin_chain::txhashset::txhashset - Rewind to header 0000040b27ca at 49956
20190219 12:33:39.813 DEBUG grin_chain::txhashset::txhashset - txhashset: rewind_to_pos: header 99907, output 957452, kernel 373415
20190219 12:33:40.261 DEBUG grin_chain::txhashset::txhashset - txhashset: validated the header 99907, output 957452, rproof 957452, kernel 373415 mmrs, took 0s
20190219 12:33:45.913 DEBUG grin_chain::txhashset::txhashset - txhashset: validated total kernel sums, took 5s

@antiochp antiochp added this to the 1.0.2 milestone Feb 19, 2019
@antiochp
Copy link
Member Author

Minor - added some logging in a fn that does not get called very often.

@antiochp antiochp merged commit 5dc01b3 into mimblewimble:master Feb 19, 2019
@antiochp antiochp deleted the debug_timing_validate_kernel_sums branch February 19, 2019 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant