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

StateProof verification fails silently #81

Open
domwoe opened this issue Mar 7, 2022 · 1 comment
Open

StateProof verification fails silently #81

domwoe opened this issue Mar 7, 2022 · 1 comment

Comments

@domwoe
Copy link
Contributor

domwoe commented Mar 7, 2022

We noticed, that Indy VDR performs a state proof verification for each response of a read request to the ledger, but it seems there's no indication if the verification was successful or failed (except a trace message).

Did I miss anything here?

@andrewwhitehead
Copy link
Member

This is by design, and consistent with the behaviour in indy-sdk. IIRC the state proof verification may fail when generated for a different epoch (which changes every 5 minutes) due to clock skew or delays in receiving the response from the server. I don't think every response type supports a state proof either. But a consensus response from the verifier nodes is also considered acceptable, this is generally n / 3 + 1 identical responses where n is the number of verifier nodes.

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

No branches or pull requests

2 participants