SomberNight
d5f368c584
LN invoices: support msat precision
...
fixes #6250
6 years ago
ThomasV
ee59ad13c4
support new protocol (minerFeeInvoice)
6 years ago
ThomasV
6058829870
Use attr.s classes for invoices and requests:
...
- storage upgrade
- fixes #6192
- add can_pay_invoice, can_receive_invoice to lnworker
6 years ago
ThomasV
312ef15cd6
fix #6056
6 years ago
SomberNight
71635216df
ln feature bits: validate transitive feature deps everywhere
6 years ago
SomberNight
94e3c078f8
lnaddr: small clean-up
6 years ago
SomberNight
1be0a710c3
ln: implement option payment_secret
6 years ago
SomberNight
4b78bf94d4
lnaddr: add feature bit support to invoices
...
see https://github.com/lightningnetwork/lightning-rfc/pull/656
6 years ago
SomberNight
7962e17df6
invoices: deal with expiration of "0" mess
...
Internally, we've been using an expiration of 0 to mean "never expires".
For LN invoices, BOLT-11 does not specify what an expiration of 0 means.
Other clients seem to treat it as "0 seconds" (i.e. already expired).
This means there is no way to create a BOLT-11 invoice that "never" expires.
For LN invoices,
- we now treat an expiration of 0, , as "0 seconds",
- when creating an invoice, if the user selected never, we will put 100 years as expiration
6 years ago
SomberNight
b99add59c3
lnworker: introduce PaymentAttemptLog NamedTuple
6 years ago
SomberNight
8dabdf8bfb
qt send tab: handle invalid ln invoice; and ln invoice with ln disabled
...
fixes #5639
fixes #5662
6 years ago
JeremyRand
8be94a9919
lnaddr: Pull in Bech32 and Base58 prefixes from constants
...
Fixes https://github.com/spesmilo/electrum/issues/5581
6 years ago
ThomasV
f9a2e7eeb4
lnworker.get_invoice_status: test if invoice is expired
6 years ago
ThomasV
f2d58d0e3f
optimize channel_db:
...
- use python objects mirrored by sql database
- write sql to file asynchronously
- the sql decorator is awaited in sweepstore, not in channel_db
6 years ago
ThomasV
e53ecb9b77
add labels to lightning history
6 years ago
ThomasV
d134937269
update regexp syntax
6 years ago
Janus
762d8be84f
lnaddr: make it possible to use lnaddr to decode arbitrary invoices on the cmd line
6 years ago
Janus
e3409d32ef
channel details with list of htlcs
6 years ago
SomberNight
e6a0b641d5
lnaddr: encode min_final_cltv into invoice
6 years ago
ThomasV
9a59ffaf44
lnrouter: filter out unsuitable channels
6 years ago
SomberNight
53802ba382
lnaddr: clean up imports
6 years ago
SomberNight
b85aea1541
qt: pay_lightning_invoice - attempt paying multiple times in case of failure
6 years ago
Janus
35adc3231b
lightning: fixup after rebasing on restructured master
6 years ago
Janus
ea3d8cb157
lnaddr: fix imports
6 years ago
ThomasV
722b4c5029
move comment
6 years ago
ThomasV
8346e358b2
move lnaddr.py to lib
6 years ago
ThomasV
f66377604d
fix lnaddr.py following rebase
6 years ago
Janus
5d375de30e
lnbase: use correct cltv_expiry calculation (use invoice)
6 years ago
Janus
1ffaed718c
simnet/testnet support in bolt11, set max-htlc-value-in-flight
6 years ago
Janus
4d3c34e04e
complete bolt11 port to ecdsa instead of secp256k1
6 years ago
Janus
5b1a5e8786
avoid duplicating bech32 module
6 years ago
Janus
afa5797099
lightning: kivy: open channel button in invoice
6 years ago