Open
Description
Currently the transaction hash gets hidden internally. I propose that we make handleAddRootToProofSet
similar to similar to handleCreateProofSet
and have it return (approximately) this:
w.Header().Set("Location", "/pdp/proof-sets/{set-id}/roots/added/{txHash}")
And then a new API, like /pdp/proof-sets/created
, that can look up the status of the AddProofSet transaction and print out the status.
Then a client can know when, and whether, Curio has accepted the piece because it sees the chain has.
It would also be good to have handleGetProofSetRoot
implemented so we can look up details once it's properly created.
Metadata
Metadata
Assignees
Labels
No labels