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

blockchain: Use chaingen for forced reorg tests. #1074

Merged
merged 1 commit into from
Feb 24, 2018

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Feb 24, 2018

This requires PR #1072. (now merged)

This replaces and improves the tests for the ForceHeadReorganization function with new tests based on the dynamic chaingen infrastructure versus uses static test data that gets out of date as data structures change and is much more difficult to update.

It also removes the now unused static reorgto180.bz2 test data.

Copy link
Member

@dajohi dajohi left a comment

Choose a reason for hiding this comment

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

ok

This replaces and improves the tests for the ForceHeadReorganization
function with new tests based on the dynamic chaingen infrastructure
versus uses static test data that gets out of date as data structures
change and is much more difficult to update.

It also removes the now unused static reorgto180.bz2 test data.
@davecgh davecgh force-pushed the blockchain_dynamic_force_reorg branch from 24a1351 to 1492e55 Compare February 24, 2018 03:01
@davecgh davecgh merged commit 1492e55 into decred:master Feb 24, 2018
@davecgh davecgh deleted the blockchain_dynamic_force_reorg branch February 24, 2018 08:58
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.

2 participants