Skip to content

bolt11: rename *lnaddr* -> *bolt11*#10614

Merged
SomberNight merged 3 commits intospesmilo:masterfrom
f321x:lnaddr_rename
Apr 27, 2026
Merged

bolt11: rename *lnaddr* -> *bolt11*#10614
SomberNight merged 3 commits intospesmilo:masterfrom
f321x:lnaddr_rename

Conversation

@f321x
Copy link
Copy Markdown
Member

@f321x f321x commented Apr 27, 2026

The LnAddr, lndecode and lnencode naming didn't imply that it is bolt 11 specific, making it confusing to work with.
Now there are also bolt 12 offers, invoices and invoice requests as well as lightning addresses.

This commit is pure renaming (using the PyCharm IDE refactor function), except for the removal of the object inheritance of LnAddr/BOLT11Addr, this is Python 2 legacy, and some import cleanup.

f321x added 2 commits April 27, 2026 16:28
The LnAddr, lndecode and lnencode naming didn't imply that it is
bolt 11 specific, making it confusing to work with, now that there are
also bolt 12 "lnaddr".
Renaming it to *bolt11* creates a clear separation to bolt 12 things and
reduces mental load.

This commit is pure renaming (using the PyCharm IDE refactor function),
except for the removal of the `object` inheritance of LnAddr/BOLT11Addr,
this is Python 2 legacy.
@SomberNight SomberNight merged commit f60cdb0 into spesmilo:master Apr 27, 2026
3 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants