ThomasV
8870ed7cc5
test_backup: check onchain balance
4 years ago
ThomasV
aa58e270c7
increase width of tx dialog, to have one line per input
4 years ago
SomberNight
4315fa4371
BIP-0350: use bech32m for witness version 1+ addresses
We have supported sending to any witness version since Electrum 3.0, using
addresses as specified in BIP-0173 (bech32 encoding).
BIP-0350 makes a breaking change in address encoding, and recommends using
(and using only) a new encoding (bech32m) for sending to witness version 1
and later. The address encoding for currently in use witness v0 addresses
remains the same, as in BIP-0173; following the BIP-0350 spec.
closes https://github.com/spesmilo/electrum/issues/6949
related:
cd3885c0fb/bip-0350.mediawiki
https://github.com/bitcoin/bitcoin/pull/20861
4 years ago
SomberNight
468636eae0
tests: add missing test vectors from BIP-0173 (bech32)
4 years ago
ThomasV
cd025c5553
inspect_tx_candidate: tx output must be of address type
4 years ago
ThomasV
e954bfaa54
request_force_close: close and reopen existing peer connection,
because channel_reestablish cannot be sent twice in the same session
4 years ago
ThomasV
1c8c236933
channels_with_funds: self._channels -> self.channels
4 years ago
ThomasV
8d8f078544
Merge pull request #7107 from bitromortac/2103-trampoline-mpp-single
mpp_split: use single nodes for mpp payments over trampoline
4 years ago
SomberNight
16f874b58e
network: trigger 'network_updated' as soon as set_parameters finishes
e.g. kivy GUI refreshes some fields based on this callback;
this should result in faster refreshes
(otherwise e.g. when switching servers, a callback might only come if
we successfully connect to the new server; or if an unrelated event
triggers it)
4 years ago
ThomasV
ef42d26cbf
qt channels_list: separate on_success handlers for close_channel and request_force_close
4 years ago
ThomasV
3c9838d999
lnworker: merge request_force_close and request_remote_force_close
4 years ago
bitromortac
8828998093
mpp_split: use single nodes for mpp payments over trampoline
4 years ago
SomberNight
fa999de305
tests: re bolt11 tests, also check invoice str in test_roundtrip
4 years ago
SomberNight
5e12f88be3
lnworker: minor clean-up, fix typo
4 years ago
SomberNight
468f3b2b8d
lnchannel: verify sig of remote chanupd (for inc edge of direct chan)
This is re the channel update for the incoming direction of our own channels.
This message can only come from the counterparty itself so maybe the sig check
is redundant... but for sanity I think we should check it anyway.
4 years ago
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