jb55 on Nostr: only took a couple months 😑 but finally got profiles working in nostrdb. Damus now ...
only took a couple months 😑 but finally got profiles working in nostrdb.
Damus now queries the local relay directly whenever it needs profile info. Its always up to date, has access to every profile its ever seen in realtime, and is as fast as accessing the profile from memory. No longer do clients need to have a separate in-memory cache for profiles, which *drastically* simplifies client code.
The old profile database is buggy and is causing crashes on the current TestFlight build, so this will fix that and make profile loading a lot faster.
Just a small update but a huge technical milestone for nostrdb. Again, thanks for your patience 😁. Damus is evolving into something new 👀
Published at
2023-09-11 02:32:10Event JSON
{
"id": "d37f637dbc35bb448fc7957e4577901fa59c9f28f6eb2fa30e57db80a88f9395",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1694399530,
"kind": 1,
"tags": [],
"content": "only took a couple months 😑 but finally got profiles working in nostrdb.\n\nDamus now queries the local relay directly whenever it needs profile info. Its always up to date, has access to every profile its ever seen in realtime, and is as fast as accessing the profile from memory. No longer do clients need to have a separate in-memory cache for profiles, which *drastically* simplifies client code.\n\nThe old profile database is buggy and is causing crashes on the current TestFlight build, so this will fix that and make profile loading a lot faster.\n\nJust a small update but a huge technical milestone for nostrdb. Again, thanks for your patience 😁. Damus is evolving into something new 👀",
"sig": "7e0c0f2ff208891daf1992c5f9347f0b353c07072f64a37ab64f7e12331bbfc951663fffe355ddeb77ebf952b31166f9524097b3db2bd39c729c330b527c889a"
}