ThomasV
bcfcc20363
fix: add request_force_close method
4 years ago
ThomasV
eec97ddfbb
(trivial) lnbackups -> lnworker
4 years ago
ThomasV
905796baeb
kivy: show channel backup before force-close
4 years ago
ThomasV
2f69f3644f
kivy: show channel backup capacity
4 years ago
SomberNight
dca182992f
ln gossip: run sig checks in a thread
to avoid blocking the asyncio event loop
4 years ago
SomberNight
cedc71a8e3
ln gossip: make sure all signatures are verified
we have not been verifying signatures of ChannelUpdate messages...
(regression from 2d0ef78a11
)
4 years ago
SomberNight
ea56a259e4
lnworker: (trivial) split handle_error_code_from_failed_htlc method
4 years ago
ThomasV
0953da75b7
fix regression from 652d10aa5f
4 years ago
SomberNight
7243e5b763
channel_db: (fix) asyncio.Event.set() is not thread-safe
it must be called from asyncio thread
4 years ago
ThomasV
8588674539
channel backups: display status from lnworker instead of channel state
4 years ago
SomberNight
5cbfebeb24
kivy server selection: don't hide ':t' protocol suffix
4 years ago
ThomasV
2dc79b7040
(minor) word wrap qt tooltip
4 years ago
ThomasV
d6ebb4d4ca
(trivial) rm debugging code
4 years ago
ThomasV
b18123fb61
Qt: add "save backup" checkbox to force-close dialog
4 years ago
ThomasV
cf926e8412
Qt: add option to request force close of channel
4 years ago
ThomasV
d0a4f3581e
follow-up previous commit
4 years ago
ThomasV
abaefa362a
kivy: unify fee dialogs
- confirm_tx_dialog and bump_fee_dialog inherit from FeeSliderDialog
- changing the slider method does not require an extra popup
4 years ago
ThomasV
3ed2173a04
remove newlines in get_tx_fee_warning, it does not render well on kivy
4 years ago
SomberNight
eaffced6dd
binaries: bump python version
4 years ago
SomberNight
6e6e956de4
appimage build: adapt to new PyQt (5.15.3+) layout
4 years ago
SomberNight
cecbaca4d1
rerun freeze_packages
4 years ago
SomberNight
b8395f71be
contrib: freeze_packages should pin latest pip/etc if possible
We've already been pinning pip/setuptools/wheel; it is `pip freeze --all`
(the "--all" arg) that does that. This change just tries to ensure that
we pin the latest version when possible.
Previously if e.g. "pip" was not pulled in by any package in "requirements${i}.txt",
we would just pin whatever is installed locally.
4 years ago
ThomasV
2ad49bbc5b
Kivy: Show fee dialog before opening a new channel.
Remove fee and rbf from settings, as they are now always proposed
4 years ago
ThomasV
3e3cfd91a6
Merge pull request #7104 from SomberNight/202103_qt_receive_tab_expiration_help
qt receive tab: change "Expires after" label and help text
4 years ago
SomberNight
4d4a66c9ba
lnpeer: add comments to process_unfulfilled_htlc
4 years ago
ThomasV
018f09f2af
use mktx_for_open_channel in commands module. fix indentation
4 years ago
SomberNight
5dbf6dbdec
qt receive tab: change "Expires after" label and help text
4 years ago
ThomasV
7c2b7ca5c0
add channel backups to result returned by list_channels
4 years ago
SomberNight
1ba5997238
qt lightning_tx_dialog: use historical fx rate for fiat amounts
4 years ago
SomberNight
24e4aa3ab9
network.best_effort_reliable: use curio APIs instead of asyncio
4 years ago
ThomasV
65d263801a
show capacity of channel backups in GUI
4 years ago
SomberNight
3ff203ea51
commands: fix list_requests
closes https://github.com/spesmilo/electrum/issues/7102
4 years ago
SomberNight
897f90d6e8
wallet: factor out "what key to use for invoice"
fix: qt request list was not using the correct key
4 years ago
ThomasV
1a4e55a911
follow-up 90b228de83
4 years ago
ThomasV
8984db3384
follow-up 90b228de83
4 years ago
ThomasV
af7bcd4ca1
add comments about ChannelBackup fields
4 years ago
ThomasV
f16358ec3c
add request_force_close command to CLI
add regtest for channel backup
4 years ago
ThomasV
bed4ddbcb4
fix dict value assignment bug in import_channel_backup. In request_force_close, use Taskgroup with wait=any
4 years ago
ThomasV
e186214f6f
(formatting) lnsweep indentation
4 years ago
ThomasV
90b228de83
fix wallet get_full_history: add onchain tx for channels not opened by us
4 years ago
ThomasV
6004a04705
Merge pull request #7099 from SomberNight/202103_fail_pending_htlcs_on_shutdown
fail pending htlcs on shutdown
4 years ago
SomberNight
2487a3fa90
tests: add test for prev
4 years ago
SomberNight
cb78f73ed0
lnworker: try to fail pending HTLCs when shutting down
This is most useful when receiving MPP where there is a non-trivial chance
that we have received some HTLCs for a payment but not all, and the user
closes the program. We try to fail them and wait for the fails to get
ACKed, with a timeout of course.
4 years ago
SomberNight
05e58671c9
lnhtlc: (trivial) rename method
4 years ago
SomberNight
54f7755397
lnpeer.maybe_forward_htlc: add FIXME
4 years ago
SomberNight
28a7d204ad
util: document CallbackManager behaviour
4 years ago
ThomasV
533d796a41
add TODO, rename check_received_mpp_htlc
4 years ago
bitromortac
10c799faab
mpp_split: add penalty for exhaustion of channels
A penalty is added for split configurations which saturate a channel.
Saturation of channels is discouraged as we don't know the fees
beforehand. The penalty is accomplished via an exponential function that
kicks in when the subamount reaches about the total funds available
(this amount is controlled by the parameter EXHAUST_DECAY_FRACTION).
4 years ago
ThomasV
1b7d8c0387
Qt: rm gossip menu item: already available in toolbar, and channel_db is not always present
4 years ago
ThomasV
dc55cf4b2d
test_multipart_payment_with_timeout: give extra time for second HTLC to timeout before next test
4 years ago