about to land the new metadata table in #nostrdb
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 ✌
GitHub
Metadata table v2 by jb55 · Pull Request #91 · damus-io/nostrdb
This is v2 of the metadata table. Before we used flatbuffers, but here we switch to a custom table design with an API.
See docs/metadata.md for the...
Agora olha como ficou o funcionamento do Jumble:
cc