SomberNight
c6dfc8e649
fix: bip21.py: add missing import
...
urllib.parse needs to be explicitly imported for e.g. urllib.parse.urlparse to work.
I think this was not erroring only because urllib.parse is imported in other modules.
2026-02-17 18:11:13 +00:00
SomberNight
73989e7a1b
bip21: trivial follow-up
...
follow-up bb4ee2b50b
2024-05-30 13:08:13 +00:00
Sander van Grieken
bb4ee2b50b
bip21: consider amount=0 in bip21 uri invalid
2024-05-29 10:12:43 +02:00
Sander van Grieken
0b7fa9cd99
bip21: fail bip21 uri if unsupported req-* parameter is present. fixes #8781
2024-01-04 12:34:17 +01:00
Sander van Grieken
f980bd97b5
payment_identifier: factor out bip21 functions to bip21.py to break cyclic dependencies,
...
parse bolt11 only once, store invoice internally instead of bolt11 string
add is_onchain method to indicate if payment identifier can be paid onchain
2023-07-08 12:18:37 +02:00