new on Nostr: primal caching service is the backbone of primal. its the server side code. this ...
primal caching service is the backbone of primal. its the server side code. this server does a lot of stuff based on user pubkey.
normally nostr clients handle this kinds of stuff client side.
user_pubkey is sent to the server for handling, then server does some logic based on that. this is very unusual pattern in nostr.
settings = ext_user_get_settings(est, pubkey)
function ext_is_hidden_by_group(est::DB.CacheStorage, user_pubkey, scope::Symbol, pubkey::Nostr.PubKeyId); false; end
function ext_is_hidden_by_group(est::DB.CacheStorage, user_pubkey, scope::Symbol, eid::Nostr.EventId); false; end
Published at
2024-09-28 22:21:02Event JSON
{
"id": "b3e18e6f581a92f95353bd8abb86f99501708274c431594d56c1dce2b28d84bd",
"pubkey": "822bf0a48a72d40bb5fa6fd622d3cf3bd6c8cc8a1ac06c1aae5c7f99b8c7e9bd",
"created_at": 1727562062,
"kind": 1,
"tags": [],
"content": "primal caching service is the backbone of primal. its the server side code. this server does a lot of stuff based on user pubkey.\n\nnormally nostr clients handle this kinds of stuff client side.\n\nuser_pubkey is sent to the server for handling, then server does some logic based on that. this is very unusual pattern in nostr.\n\nsettings = ext_user_get_settings(est, pubkey)\nfunction ext_is_hidden_by_group(est::DB.CacheStorage, user_pubkey, scope::Symbol, pubkey::Nostr.PubKeyId); false; end\nfunction ext_is_hidden_by_group(est::DB.CacheStorage, user_pubkey, scope::Symbol, eid::Nostr.EventId); false; end",
"sig": "95cf91b65cb017ef4165fa35a0c7277d83e1acd607cc4cf58ddc3d2125726591bffd7d85d0931dbfe5735461b7c0a17f4fb45c5b42f540966d66dc1caf6591fd"
}