Replies: 5 comments 2 replies
-
What is it what we should do concretely? Add When trying to debug #388 it also occurred to me that we should include the current |
Beta Was this translation helpful? Give feedback.
-
A |
Beta Was this translation helpful? Give feedback.
-
This is also relevant to debugging some issues I have right now where the |
Beta Was this translation helpful? Give feedback.
-
Was also part of feedback by @Quantumplation. Especially in |
Beta Was this translation helpful? Give feedback.
-
We have added |
Beta Was this translation helpful? Give feedback.
-
Why
Because the whole communication API for Hydra is asynchronous, it can be hard for a client application to know how to relate events to time. For example,
GetUTxOResponse
returns the current UTxO known of the head; but "current" is not a well-defined moment. What was the last confirmed snapshot number at that moment? What was the last seen transaction? What was the virtual slot of the head? Etc..What
Most server outputs from the API would benefit from some kind of anchor that allows to correlate them better with the state of the system. Once we start working on #196 we may have introduced a notion of slot / time inside the head which could come in handy. In the meantime, it may be interesting to link information to the latest snapshot so that replies from the server can be better associated with (verifiable) moments of the system.
Beta Was this translation helpful? Give feedback.
All reactions