1
0
mirror of git://jb55.com/damus synced 2024-09-05 21:03:51 +00:00
damus/nostrdb
William Casarin 1cf898e0b2 ndb: update nostrdb
This includes the new profile fetched_at logic and reaction stats.

When receiving new profiles, nostrdb will record when it was last
received in a new database. This database is a mapping from Pubkey to
timestamp.

You can manually read/write to this table using:

ndb_read_last_profile_fetch
ndb_write_last_profile_fetch

This patch also includes the new reaction counting metadata table. It is
not used yet (but reactions are still counted!)

Changelog-Added: Added reaction counters to nostrdb
Changelog-Added: Record when profile is last fetched in nostrdb
2023-10-23 10:40:11 +08:00
..
bindings ndb: update bindings 2023-10-23 10:39:27 +08:00
flatcc flatbuffers: update bindings, add verifier 2023-08-28 08:17:25 -07:00
Test tests: add ndb support to tests 2023-09-21 09:10:06 -04:00
AsciiCharacter.swift ndb: make AsciiCharacter a CustomStringConvertible 2023-08-01 21:53:19 -07:00
copy-ndb ndb: remove patch from copy script, just use sed 2023-08-28 08:18:25 -07:00
jsmn.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
lmdb.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
mdb.c nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
memchr.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
midl.c nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
midl.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
Ndb.swift ndb: add process_client_event helper 2023-09-24 17:06:35 -07:00
NdbNote.swift network: Broadcast quoted notes when posting a note with quotes 2023-10-07 14:49:53 -07:00
NdbTagElem.swift ndb: switch to nostrdb notes 2023-08-03 13:20:36 -07:00
NdbTagIterator.swift ndb: sync up a few remaining NdbNote tag differences 2023-07-25 16:22:25 -07:00
NdbTagsIterator.swift ndb: switch profile queries to use transactions 2023-09-21 09:10:06 -04:00
NdbTxn.swift ndb: switch profile queries to use transactions 2023-09-21 09:10:06 -04:00
nostrdb.c ndb: update nostrdb 2023-10-23 10:40:11 +08:00
nostrdb.h ndb: update nostrdb 2023-10-23 10:40:11 +08:00
protected_queue.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
random.h ndb: make NostrEvents immutable 2023-07-25 15:34:05 -07:00
secp256k1_ecdh.h ndb: make NostrEvents immutable 2023-07-25 15:34:05 -07:00
secp256k1_extrakeys.h ndb: make NostrEvents immutable 2023-07-25 15:34:05 -07:00
secp256k1_schnorrsig.h ndb: make NostrEvents immutable 2023-07-25 15:34:05 -07:00
secp256k1.h ndb: make NostrEvents immutable 2023-07-25 15:34:05 -07:00
threadpool.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00
util.h nostrdb: pull latest, adding flatcc and lmdb 2023-08-25 19:05:34 -07:00