IntersectMBO / IntersectMBO/ouroboros-network
Add "query failure" transition to Local state query mini protocol
Open
local-state-query
- Dominant language
- Haskell
- Stars
- 296
- Forks
- 104
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 4
Description
As mentioned in [this issue](https://github.com/input-output-hk/ouroboros-consensus/issues/439) there is currently no way for a client performing a query on a node to know if something went wrong with the query.
This implies that a client that waits for a result of a failing query will block forever, without a way to know that indeed something went wrong.
A solution for this is just to add a transition in the local state query state machine from the "Querying" state to the "Acquired" state that notifies the client of the query failure (with possibly some error code)
Contributor guide
Assessment
This issue has not been assessed yet.