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

API: Hide node_revision and node_id in message Node #350

Closed
gdbelvin opened this issue Feb 1, 2017 · 2 comments
Closed

API: Hide node_revision and node_id in message Node #350

gdbelvin opened this issue Feb 1, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@gdbelvin
Copy link
Contributor

gdbelvin commented Feb 1, 2017

Public clients only need an array of neighbor hashes to verify proofs.
Including extra data invites API missuse.

@Martin2112
Copy link
Contributor

This was useful for diagnosing bugs in the Merkle path code for proofs as it allows inspection of which nodes in the proof were recomputed. I'm pretty confident in that code now so I think we can rely on the tests.

@Martin2112
Copy link
Contributor

Opened #499.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants