Damus
nostrich profile picture
nostrich
about to land the new metadata table in #nostrdb

https://github.com/damus-io/nostrdb/pull/91

when ingesting notes into the database, it will automatically count:

- direct replies
- thread replies (total number of replies in a thread)
- individual reaction counts
- total reaction counts
- number of quote reposts
- total zap sats

all stored in a compact format in nostrdb that is fast to update.

this should greatly simplify the frontend code in damus android, ios, and notecrumbs. people thought you would need a caching server to have reliable note stats like this, but not anymore! the local relays are getting smarter.

will try to get this into all of our clients asap, thanks for your patience โœŒ
1
HORNETS · 17w
Absolutely legendary ๐Ÿ™ this work is under-appreciated.