Transaction service accepts requests without parties and returns an empty stream
See original GitHub issueThe transaction service currently accepts a SubmitRequest
with a filter with an empty set of parties and returns an empty stream. Probably a better approach would be requiring at least one party to be there to subscribe to and return an error if it’s not there, rather than opening (and possibly keeping it that way) an empty stream. This would ensure that the user gets an immediate feedback, rather than (possibly mistakenly) subscribing to a feed that will always be empty.
Another possible approach could be changing the semantics of an empty set of parties to mean “subscribe to all transactions over which I have visibility”, but I’m not sure this would be desirable.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (5 by maintainers)
Top Results From Across the Web
CreateStream - Amazon Kinesis Data Streams Service
CreateStream is an asynchronous operation. Upon receiving a CreateStream request, Kinesis Data Streams immediately returns and sets the stream status to ...
Read more >javascript - Return an empty Observable
In this case I can only do a request if hasMore() is true, else I get an error on subscribe() function subscribe is...
Read more >Writing REST Services with RESTEasy Reactive
This guide explains how to write REST Services with RESTEasy Reactive ... may accept as HTTP request body or produce as HTTP response...
Read more >Getting Started with Spring WebFlux
In a non-blocking system, all the incoming requests are accompanied by an event handler and a callback. The request thread delegates the ...
Read more >Change Log – Binance API Documentation - GitHub Pages
New WebSocket stream GRID_UPDATE in USER-DATA-STREAM: update when a sub order of a grid is filled ... stop being maintained and no longer...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t see a
BAD_REQUEST
, maybe you were referring to this? Seems apt.BAD_REQUEST it is then, a PR is coming soon, thanks for the input. 🙏