Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Pass additional data when reporting #5527

Merged
merged 2 commits into from
May 3, 2017
Merged

Pass additional data when reporting #5527

merged 2 commits into from
May 3, 2017

Conversation

keorn
Copy link

@keorn keorn commented Apr 28, 2017

This changes the reporting validator set interface. Updated contracts.
Not 100% sure if this is the right balance between structured and unstructured args, malicious proofs will take on very different forms most likely.

@keorn keorn added A0-pleasereview 🤓 Pull request needs code review. B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. M4-core ⛓ Core client code / Rust. labels Apr 28, 2017
// Returns the double voting address.
full_vote(&collector, H520::random(), round, Some("1".sha3()), &Address::default()).unwrap();
assert!(!full_vote(&collector, H520::random(), round, Some("1".sha3()), &Address::default()));
Copy link
Contributor

Choose a reason for hiding this comment

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

these two full_vote calls have different block hashes. can you clarify why it's still a double vote?

Copy link
Author

Choose a reason for hiding this comment

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

this is what a double vote is: voting for two different hashes in the same voting round.

@rphmeier rphmeier added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels May 2, 2017
@gavofyork gavofyork merged commit a3d9cce into master May 3, 2017
@gavofyork gavofyork deleted the report-meta branch May 3, 2017 07:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants