[iota-kvstore]: refactor `KeyValueStore{Reader, Writer}` to use iterators
Open
infrastructure
- Dominant language
- Rust
- Stars
- 110
- Forks
- 71
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 127
Description
`get_transaction_digests` can return an iterator as well, and the suggestion implied that.
_Originally posted by @kodemartin in https://github.com/iotaledger/iota/pull/11594#discussion_r3288192019_
Currently the `KeyValueStore{Reader, Writer}` traits accepts slices where to avoid extra `collect()` calls we could leverage passing & returning iterators, improving performance and developer experience where applicable.
Contributor guide
Assessment
This issue has not been assessed yet.