prs on Nostr: Profiles in nostrdb (#1520) This adds profiles to nostrdb and replaces our in-memory ...
Profiles in nostrdb (#1520)
This adds profiles to nostrdb and replaces our in-memory and ProfileDatabase cache with it
- Remove in-memory Profiles caches, nostrdb is as fast as an in-memory cache
- Remove ProfileDatabase and just use nostrdb directly
## TODO
- [ ] cache lnurl properly
- [ ] add database versions for migrations
nostrdb-profiles, 5 commits
https://github.com/damus-io/damus/pull/1520Published at
2023-08-28 15:02:49Event JSON
{
"id": "94e1786481c3ba505b3417a8ef34811c63d5d7f8258e9bcc94d53d8e106489b3",
"pubkey": "edf16b1dd61eab353a83af470cc13557029bff6827b4cb9b7fc9bdb632a2b8e6",
"created_at": 1693234969,
"kind": 1,
"tags": [
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"t",
"damuspr"
]
],
"content": "Profiles in nostrdb (#1520)\n\nThis adds profiles to nostrdb and replaces our in-memory and ProfileDatabase cache with it\r\n\r\n- Remove in-memory Profiles caches, nostrdb is as fast as an in-memory cache\r\n- Remove ProfileDatabase and just use nostrdb directly\r\n\r\n## TODO\r\n\r\n- [ ] cache lnurl properly\r\n- [ ] add database versions for migrations\n\nnostrdb-profiles, 5 commits\n\nhttps://github.com/damus-io/damus/pull/1520",
"sig": "02931b019a76c994c7c55943d7cc6824f88efbf3decd5a0ef8632113b0fe55c13732d40256f5a77b3ba71ac9072c011b2f29df603060a422330a032fe4bbd369"
}