for my live demo i killed the damus relay for a few minutes. i don’t think anyone noticed.
View quoted note →
jb55
_@jb55.com
npub1xtsc...kk5s
I made damus, npubs, and zaps ⚡️
Independent bitcoin core and lightning dev.
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...