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

Make fields public #283

Merged
merged 2 commits into from
Aug 4, 2017
Merged

Make fields public #283

merged 2 commits into from
Aug 4, 2017

Conversation

vldm
Copy link
Contributor

@vldm vldm commented Aug 2, 2017

Based on #278
Closes #279

@vldm vldm requested a review from dj8yfo August 4, 2017 12:19
Copy link
Contributor

@dj8yfo dj8yfo left a comment

Choose a reason for hiding this comment

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

@alekseysidorov is there a need to make TxLocation fields public?

pub block: Block,
/// List of precommit for this block.
pub precommits: Vec<Precommit>,
/// List of hashes for transactions that was executed into this block.
Copy link
Contributor

Choose a reason for hiding this comment

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

included

@alekseysidorov
Copy link
Contributor

The TxLocation contains the height that is needed to find the nearest anchoring transaction.

@dj8yfo
Copy link
Contributor

dj8yfo commented Aug 4, 2017

@alekseysidorov review plz. TxLocation fields are pub as components of encoding_struct!.

@alekseysidorov
Copy link
Contributor

But location field it TxInfo is private. If I want to add information about anchoring to TxInfo I need to get tx_location again.

@dj8yfo dj8yfo merged commit 84ca49a into exonum:master Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants