Some Test KeyPair on Nostr: Okay, status update, because might as well use my shiny new client if it works... I ...
Okay, status update, because might as well use my shiny new client if it works...
I managed to create an auto-filter for every user with an assigned petname.
I organized the identity browser such that identities w/o a petname go to the end
and don't clutter up the whole thing too much.
I also made some transient filters, now I can view mentions or (posts&replies).
Subscriptions now make much more sense as an array of dicts inside a filter_outer_dict.
Previously they were stored in a separate dict but I realized a subscription is just
a (filter, relay_url, is_open) triplet, with a filter being able to connect to many urls.
That was quite some work but definitely worth it.
I might have to reorganize my events from dict to array if I want to efficiently simulate
what relays do, vis a vis responding to req-s by returning the latest events if
no time interval was given. Rn it's solved by sorting twice, but that's terribly inefficient.
Kind-0s can now be pulled either 1-by-1 or all at once. They can be viewed as a dict.
I managed to create an auto-filter for every user with an assigned petname.
I organized the identity browser such that identities w/o a petname go to the end
and don't clutter up the whole thing too much.
I also made some transient filters, now I can view mentions or (posts&replies).
Subscriptions now make much more sense as an array of dicts inside a filter_outer_dict.
Previously they were stored in a separate dict but I realized a subscription is just
a (filter, relay_url, is_open) triplet, with a filter being able to connect to many urls.
That was quite some work but definitely worth it.
I might have to reorganize my events from dict to array if I want to efficiently simulate
what relays do, vis a vis responding to req-s by returning the latest events if
no time interval was given. Rn it's solved by sorting twice, but that's terribly inefficient.
Kind-0s can now be pulled either 1-by-1 or all at once. They can be viewed as a dict.