Damus
Matt Corallo profile picture
Matt Corallo
@matt
This idea that lightning nodes, by default, store every single invoice or offer you generate over RPC is insane. There’s no reason to bloat the DB and expose users to DoS risk if they generate invoices automatically, the damn things can be stateless and additional metadata you need can be stored in the invoice and retrieved on payment, rather than stored.
7❀️4βœ…1πŸ‘1πŸ’―1πŸ€”1πŸ€™1
utxo the webmaster πŸ§‘β€πŸ’» · 1d
This drove me absolutely insane when I ran a commercial lighting service, my only solution at the time was to just keep making new nodes :/
bc1l33tcoder · 23h
This was a design issue of the bolt, payment_metadata should have been there from the beginning. I doubt there will be sufficient adoption anytime soon. Luckily, bolt 12 seems to fix this by replacing bolt 11 usage through its many other benefits.
Mistery Horizons · 22h
https://www.amazon.com/s?k=Adriano+Dona&__mk_es_US=%C3%85M%C3%85%C5%BD%C3%95%C3%91
Johnny · 17h
nostr:nprofile1qqsr6tj32zrfn7v0pu4aheaytdnnc6rluepq73ndc2tdjzus34gat9qytmrj5 if the invoice carries its own metadata, what does a shop reconcile against weeks later when a customer wants a refund? every merchant i talk to ends up keeping the db anyway, just a worse one than the node had.