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

Enforce miner tx version #623

Merged
merged 3 commits into from Jun 3, 2019
Merged

Conversation

Doy-lee
Copy link
Collaborator

@Doy-lee Doy-lee commented Jun 3, 2019

Part of addressing: #620

@Doy-lee Doy-lee requested a review from msgmaxim June 3, 2019 05:23
@@ -1265,6 +1265,23 @@ bool Blockchain::validate_miner_transaction(const block& b, size_t cumulative_bl
}
}

if (version >= cryptonote::network_version_12_checkpointing) // NOTE: Min/Max Type/Version Check
Copy link
Member

@jagerman jagerman Jun 3, 2019

Choose a reason for hiding this comment

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

I don't understand the comment. Perhaps it should just be something like: // Enforce transaction type and version. Or just removed (I think it's pretty obvious what the code is doing).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, removed. I generally prefer no comment

@Doy-lee Doy-lee merged commit ac796c7 into oxen-io:dev Jun 3, 2019
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.

None yet

3 participants