Logen
· 4d
Relays track followers just fine, what if we put a relay in the phone and had it govern everything? nostr:npub1fa05cayzx9xze32d2nhxnp7vhf42mkvpf9zr8xa9keq35tlrps5q7k0z97
As a user I have a follow list, it tracks who I follow. So far that's easy.
To find who follows me though has no single list.
I need to download every follow list of every Nostr user and look for my pubkey on all of those lists.
To find out who has "just followed" so I can make a notification about it, I need to download every follow list update of every Nostr user and compare it vs their prior list, to see what has changed, and if the thing that has changed is the addition of my user.
Furthermore, as follow lists are replaceable events, I have to maintain that copy of everyone's old follow lists myself as the relays simply replace the old lists with the new, and I can't query "give me the old list" or "give me what changed on the list"
Once that is solved
Then it's easy to make a notification system like the one you mentioned.