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

mining: Export block template fields. #659

Merged
merged 1 commit into from
Apr 11, 2016

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Apr 10, 2016

This simply exports and adds some comments to the fields of the BlockTemplate struct.

This is primarily being done as a step toward being able to separate the mining code into its own package, but also it makes sense on its own because code that requests new block template necessarily examines the returned fields which implies they should be exported.


This change is Reviewable

This simply exports and adds some comments to the fields of the
BlockTemplate struct.

This is primarily being done as a step toward being able to separate the
mining code into its own package, but also it makes sense on its own
because code that requests new block template necessarily examines the
returned fields which implies they should be exported.
@jrick
Copy link
Member

jrick commented Apr 11, 2016

ok

@davecgh davecgh merged commit a3fa066 into btcsuite:master Apr 11, 2016
@davecgh davecgh deleted the mining_export_blocktemplate_fields branch April 11, 2016 15:27
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