Replace user_id with nostr pubkey for ticket identification #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently tickets can be created with a
user_id(LNbits internal user ID) as an alternative to name/email. This works but ties ticket identity to LNbits internals.Proposal: Use a nostr pubkey instead of
user_id. This would:Changes needed:
user_idcolumn/field tonostr_pubkey(or add alongside)CreateTicketvalidatorget_tickets_by_user_id→get_tickets_by_pubkeyConsiderations:
user_idticketsuser_idas a fallback or drop entirely