ThomasV
e35bddcc09
kivy: fix can_pay in invoice_dialog
5 years ago
ThomasV
a4944cdcb2
delete channel from db in remove_channel, becaose it is called from lnworker
5 years ago
ThomasV
9fbac40d56
filter out None in wallet.get_invoices
5 years ago
ThomasV
9ff1bd4110
fix test following aac0fe9ae6
5 years ago
ThomasV
2234f93d8b
fix fee in lnworker.get_history (sign error)
5 years ago
SomberNight
d9b5ab3086
wallet: fix bump_fee when there are only change outputs
closes #5718
closes #5603
5 years ago
ThomasV
aac0fe9ae6
kivy: show status with color. show inflight attempts.
5 years ago
ThomasV
cd86bec894
kivy: add 'delete channel' button
5 years ago
ThomasV
576fbbd074
kivy: minor fixes
5 years ago
Janus Troelsen
b86b3ec1d1
segwit_addr: Use normal comparison for tuple literal ( #5712 )
5 years ago
ThomasV
6992e33ecb
folllow-up c721e880d0
5 years ago
ThomasV
c721e880d0
Qt: generic add_copy_menu method for MyTreeView lists
5 years ago
ThomasV
0a6ac7c61a
fix #5702
5 years ago
ThomasV
d1f4804962
misc Qt fixes
- improve layout of send tab
- use tabs to show receive widgets
- add menu item to copy address from request
- show copied content in copy dialog
5 years ago
ThomasV
d35791ff65
fix #5704
5 years ago
ThomasV
8c22be87b0
fix #5701
5 years ago
ghost43
d480d0b265
Merge pull request #5700 from fiatjaf/bugfixopenchannel
fix expected returned peer address values when opening channel.
5 years ago
SomberNight
106bc6d2b2
follow-up prev
5 years ago
fiatjaf
b476681af7
fix typo: wallet.requests -> wallet.receive_requests ( #5706 )
5 years ago
fiatjaf
38622c0a99
fix expected returned peer address values when opening channel.
5 years ago
ThomasV
3af7920b63
fix typo
5 years ago
ThomasV
1b0521cabd
kivy: toggle lightning dialog
5 years ago
ThomasV
a13cea6f8a
add remove_lightning command
5 years ago
ThomasV
db833e1ba3
lnworker: less verbose
5 years ago
ThomasV
c9d403cb7b
minor: callback unknown_channels (follow-up 0966edc637
)
5 years ago
ThomasV
90ce9f195b
Allow user to enable lightning in the GUI. Make it a per-wallet setting.
5 years ago
ThomasV
a201ed44df
Qt: add lightning button to status bar
5 years ago
ThomasV
0966edc637
fine-grained callbacks for lightning network dialog
5 years ago
ThomasV
fe550c6c73
payment log: show whether channel have been blacklisted
5 years ago
ThomasV
3897cf725d
move handle_error_code_from_failed_htlc to lnworker because it requires access to the network object
5 years ago
ThomasV
af4a3328f7
Qt: separate lightning and watchtower dialogs
5 years ago
ThomasV
f985c53f2f
fix #5695
5 years ago
ThomasV
16644ae00f
follow-up previous commit
5 years ago
ThomasV
8f86a15f92
improve payment log dialog
5 years ago
ThomasV
5377eb907c
follow-up dd0be1541e
5 years ago
SomberNight
2a604b1676
lnonion: get_failure_msg_from_onion_error might raise in python 3.7
this used to work in py3.6 but raises in py3.7 :(
(see https://bugs.python.org/issue34536 )
5 years ago
ThomasV
c37d08cec9
bump version number to 4.0.0a0 (alpha version)
5 years ago
ThomasV
dd0be1541e
Improve handling of lightning payment status:
- Move 'handle_error_code_from_failed_htlc' to channel_db,
and call it from pay_to_route, because it should not be
called when HTLCs are forwarded.
- Replace 'payment_received' and 'payment_status'
callbacks with 'invoice_status' and 'request_status'.
- Show payment error logs in the Qt GUI
- In the invoices list, show paid invoices for which
we still have the log.
5 years ago
ThomasV
d6d644190e
lnworker: return error reason in await_payment
5 years ago
ThomasV
0557738a6b
follow-up previous commit
5 years ago
ThomasV
c4ab1e6fad
Encapsulate lightning payment events:
- make LNWorker.pending_payments private
- public methods: payment_sent, payment_received, await_payment
5 years ago
ThomasV
638de63f13
lnworker: rename 'invoices' to 'payments' when they can be in both directions
5 years ago
ThomasV
788d54f9a6
remove another instance of lnworker accessed in lnchannel
5 years ago
ThomasV
8331f0049c
Remove lnpeer.payment_preimages:
- we can await lnworker.pending_payments instead, because the preimage is saved
- also, remove one instance of lnworker being accessed from lnchannel
5 years ago
ThomasV
b08cfac643
fix #5681
5 years ago
SomberNight
a51a2a7f8f
wallet: minor invoices fix
handle "lightning disabled & there are LN invoices in wallet" case
5 years ago
ThomasV
0dc90491b2
do not decode LN invoices in channel_details. fixes #5676
5 years ago
ThomasV
bcb10e6e53
remove redundant test from lnworker._pay, rename pay_to_route parameter to lnaddr
5 years ago
SomberNight
7c283f9cd2
fix tests: follow-up prev
5 years ago
SomberNight
8dabdf8bfb
qt send tab: handle invalid ln invoice; and ln invoice with ln disabled
fixes #5639
fixes #5662
5 years ago