Allow matching for multiple arbitrary event types with one filter #4356
Labels
api-changes
Changes in the API for client libraries
Enhancement
New feature or request
iroha2-dev
The re-implementation of a BFT hyperledger in RUST
After the merge of #4240, it would be possible to filter for multiple event types with a single filter, but only if they are coming from the same category (for example, both are
AccountEvent
s).A logical extension of that would be to allow to filter for multiple events from different categories. This can be accomplished by making the
DataEventFilter
along withEventFilterBox
andTriggeringEventFilterBox
into structures instead of enums and making them test all the filters sequentially (how about the structure size? can it become too large?)Originally posted by @mversic in #4240 (comment)
The text was updated successfully, but these errors were encountered: