Skip to content

chaingen: Prevent dup block names in NextBlock. - #1079

Merged
davecgh merged 1 commit into
decred:masterfrom
davecgh:chaingen_no_dup_block_names
Feb 25, 2018
Merged

davecgh merged 1 commit into
decred:masterfrom
davecgh:chaingen_no_dup_block_names

Conversation

@davecgh

@davecgh davecgh commented Feb 24, 2018 •

Copy link
Copy Markdown
Member

This modifies the chaingen test harness to error when a duplicate block name is provided to NextBlock to help prevent misuse.

It also corrects a couple of comment typos.

@davecgh
davecgh force-pushed the chaingen_no_dup_block_names branch 2 times, most recently from d4afaa6 to ac8ecbe Compare February 25, 2018 02:29
@davecgh

davecgh commented Feb 25, 2018

Copy link
Copy Markdown
Member Author

Rebased to latest master and fixed conflicts introduced by #1060.

@dajohi dajohi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ok

This modifies the chaingen test harness to error when a duplicate block
name is provided to NextBlock to help prevent misuse.

It also orrects a couple of comment typos.
@davecgh
davecgh force-pushed the chaingen_no_dup_block_names branch from ac8ecbe to 0aa73c0 Compare February 25, 2018 22:00
@davecgh
davecgh merged commit 0aa73c0 into decred:master Feb 25, 2018
@davecgh
davecgh deleted the chaingen_no_dup_block_names branch February 25, 2018 22:13
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