1
0
Commit Graph

11 Commits

Author SHA1 Message Date
SomberNight
fab567db3a lnurl: better error messages
re https://github.com/spesmilo/electrum/issues/9078
2024-06-04 13:42:57 +00:00
SomberNight
8075c0d02a lnurl: add encode_lnurl() for console usage, fix tests 2023-06-23 16:01:03 +00:00
Sander van Grieken
17a89efd3c lnurl: fix lightning address regex 2023-05-12 13:53:51 +02:00
SomberNight
1b5c7d46d7 lnurl: forbid paying to "http://" lnurls (enforce https or .onion)
In theory merchants should only use safeish non-mitm-able schemes, but
let's add this sanity check for peace of mind.
2023-04-20 18:08:42 +00:00
SomberNight
8f576e50a4 lnurl: add some error-handling/response-validation 2023-04-20 17:48:03 +00:00
Sander van Grieken
e73993dba5 lnurl: add support for comments (LNURL12) 2022-09-30 14:01:18 +02:00
Sander van Grieken
8437e13666 add initial lnurl-pay 2022-09-28 18:21:07 +02:00
SomberNight
e5f21fb7b5 lnurl: better handle unimplemented lnurl subtypes
fixes https://github.com/spesmilo/electrum/issues/7971
2022-09-20 16:00:20 +00:00
SomberNight
ed1567e841 lnurl: make requests async, don't block Qt GUI, rm LUD-16 support
- in lnurl.py, make request methods async
- in Qt GUI, lnurl network requests no longer block the GUI thread
  - but they still do in the kivy GUI
- "lightning address" (LUD-16) support is removed for now as the
  email addresses are indistinguishable from openalias email addresses
  (both protocols should have added and enforced a prefix, or similar,
   to remove this kind of ambiguity -- now we would need to make a
   network request just to identify what kind of ID we were given)
2022-06-29 16:56:04 +02:00
SomberNight
649cad0122 lnurl: clean-up 2022-06-29 16:18:23 +02:00
bitromortac
fe2fbbd9b1 add lnurl-pay and lightning address support
* bundles all payment identifiers into handle_payment_identifier
* adds lnurl decoding
* adds lightning address decoding
2022-06-29 16:18:15 +02:00