lnaddr: rename LnAddr -> bolt11

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.
This commit is contained in:
f321x
2026-03-11 09:51:11 +01:00
parent 9b26c1812d
commit 306cac192b
15 changed files with 109 additions and 109 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ from aiohttp import web
from electrum.util import log_exceptions, ignore_exceptions
from electrum.logging import Logger
from electrum.util import EventListener
from electrum.lnaddr import lndecode
from electrum.bolt11 import decode_bolt11_invoice
from electrum.daemon import AuthenticatedServer