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

[Conformance] add another endpoint to add with sync integration #329

Open
mhutchinson opened this issue Nov 20, 2024 · 0 comments
Open

[Conformance] add another endpoint to add with sync integration #329

mhutchinson opened this issue Nov 20, 2024 · 0 comments
Assignees

Comments

@mhutchinson
Copy link
Contributor

The current conformance suite has an /add endpoint that adds a given leaf and returns only the sequence number assigned.

A mode we have support for in Tessera, and that we want to encourage people to use, is to allow clients to add leaves and the personality response to include an offline inclusion proof (checkpoint, leaf index, inclusion proof).

Suggestion

Conformance binaries expose a new endpoint /addSync that takes the same request format, but blocks using the Awaiter until the checkpoint is available, and then returns the bundle information as above. We'll need to determine an encoding, but how hard can that be?

@mhutchinson mhutchinson self-assigned this Nov 21, 2024
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

1 participant