WebOfTrust / keripy

Key Event Receipt Infrastructure - the spec and implementation of the KERI protocol
https://keripy.readthedocs.io/en/latest/
Apache License 2.0
60 stars 55 forks source link

Add filters and reverse ordering in Noter and Notifier #816

Closed rodolfomiranda closed 3 months ago

rodolfomiranda commented 4 months ago

This PR address a feature requested in KERIA (https://github.com/WebOfTrust/keria/issues/266) to allow notifications to be ordered in reverse, and be filtered by the read status and the route parameter in the attrs (note.a.r) if exists.

To get the notes in reversed order I added a new function in LMDBer called getAllItemRvsdIter that returns the reversed iterator.

pfeairheller commented 3 months ago

Can this PR be closed?