SomberNight
88658f9c2c
WalletDB: add type hints, and also corresponding asserts for sanity
5 years ago
SomberNight
931d961721
lnpeer/lnwatcher: include channel id in log lines
5 years ago
SomberNight
3966b51a94
fix undefined name 'CHANNEL_INIT_TIMEOUT'
5 years ago
SomberNight
a78583e5d4
travis: fix regtest
5 years ago
ThomasV
8ff1921c0d
(minor) fix log
5 years ago
ThomasV
7908f4b203
follow-up previous commit
5 years ago
ThomasV
5785c2fa2f
Fix #5975 : Forget or redeem channels that are never funded.
- initiator: wait until double spent
- non-initiator: wait until timeout
5 years ago
ThomasV
ed29a45d50
Qt: disable preview button in open_channel
5 years ago
ThomasV
20d8da7e24
db upgrade: store channel tx height and timestamps in 'channels'
5 years ago
ThomasV
e8ee4250d9
Do not save new channels before they are added to lnworker
5 years ago
SomberNight
8d02c2027c
travis: use more recent Ubuntu, get libsecp from Ubuntu apt (rm ppa)
5 years ago
SomberNight
84797f90d0
qt request_list: clear receive addr/req when hiding list
5 years ago
SomberNight
4c2e1970f2
qt receive tab: better "Clear" behaviour
Previously, the selection would not get cleared, and if the user clicked
again on the already selected item, the click would get ignored
(request would not get populated).
5 years ago
ThomasV
947211fe4e
follow-up 54ef6db762b5ea120a59af0a2470eac999c55d93: set channel state to OPENING if funding tx was broadcast later (e.g. cold storage)
5 years ago
SomberNight
36629f0957
cosigner_pool plugin: don't show button in tx dialog before finalizing
(previously button would be shown for a watch-only multisig wallet)
5 years ago
SomberNight
45a309ff25
qt channels_list: early exit if lightning is disabled
(note: signal is coming from a different wallet/window)
Traceback (most recent call last):
File "...\electrum\electrum\gui\qt\channels_list.py", line 142, in do_update_single_row
self.update_can_send(self.parent.wallet.lnworker)
File "...\electrum\electrum\gui\qt\channels_list.py", line 164, in update_can_send
msg = _('Can send') + ' ' + self.parent.format_amount(lnworker.can_send())\
AttributeError: 'NoneType' object has no attribute 'can_send'
5 years ago
SomberNight
614a38ae5c
qt coin control status bar: don't defer 'Coins' tab updates
otherwise the cc sb only gets updated if tab when that tab is visible
5 years ago
SomberNight
cc5624fb20
don't raise BaseException
5 years ago
SomberNight
2409782975
qt open channel: early return if fields are left empty
closes #5934
5 years ago
ThomasV
ac884eb3c3
lnpeer: Use a single queue per channel for messages that are ordered.
Forward error messages with 'temporary_channel_id' to the correct channel_id
5 years ago
ThomasV
28c5825f41
follow-up previous commit
5 years ago
ThomasV
54ef6db762
do not try to reestablish channels in PREOPENING state (per BOLT2).
5 years ago
ThomasV
8730fa3f75
return preimage in lnpay. fixes #5794
5 years ago
ThomasV
67d0e780b3
remove double definition of lightning_history. fixes #5984
5 years ago
ThomasV
9616333b39
add_future_tx should return success
5 years ago
ThomasV
64a8de8bae
Qt: show amounts sent to channels in show_transaction
5 years ago
ThomasV
d319680d16
lnpeer: do not dump exceptions raised in initialize
5 years ago
ThomasV
874efc125d
(minor) trigger 'wallet_updated' callback when adding future tx
5 years ago
ThomasV
7771daf94e
qt: add menu item to view closing transaction of channel
5 years ago
ThomasV
b12c913d47
do not show channel balances if channel is closed
5 years ago
ThomasV
4e73318fad
Qt: ask confirmation before closing channel.
5 years ago
ThomasV
938d918e55
sweep_ctx: do not log if channel was not force closed
5 years ago
ThomasV
3264d19c6b
Qt open channel dialog: suggest and clear buttons
5 years ago
ThomasV
fa62d03c2a
require option static_remotekey in lnwallet
5 years ago
ThomasV
bda23ef73d
Use a Future for lnpeer.initialized, so that exceptions are passed to the GUI
5 years ago
SomberNight
56cb45df70
android build: fix accepting licenses
5 years ago
SomberNight
1ac3a66d49
win binaries: bump python version (3.6.8->3.7.6)
finally possible, after bb94712a14
5 years ago
SomberNight
7e3d50a641
README: rm "Compile the protobuf description file" section
The generated file "paymentrequest_pb2.py" is already committed into the repository,
so users don't need to run this command.
Further, the command itself is preserved in "paymentrequest.py"
(it gets printed if we cannot find the generated file).
5 years ago
SomberNight
7f8d667e85
Revert "qt/hww: temporarily bundle our own version of safetlib.qt.pinmatrix"
This reverts commit 7f3de8241c
.
(can finally undo this due to bb94712a14
)
5 years ago
ThomasV
a1b8c8e54e
add comment about minor issue with closing_signed
5 years ago
SomberNight
bb94712a14
requirements: bump min archos safet version
related: #5968
5 years ago
ThomasV
1b586faec9
disable peer filtering in lnworker
5 years ago
ThomasV
3329d9dd0e
lnwatcher: fix keep_watching if the wallet was not force-closed
5 years ago
SomberNight
d8a992e400
libsecp: log exception if failed to load
5 years ago
ThomasV
6e5abc049b
follow-up previous commit (backward compatibility)
5 years ago
ThomasV
55e0e1a72e
Generate channel keys from random seed
5 years ago
ThomasV
c2432aa125
kivy: set pin_code timeout to 5 minutes
5 years ago
ThomasV
86d1e50469
select peers with desired features before connecting
5 years ago
ThomasV
a96aa68a4c
lnpeer:
- print parent classname in diagnostic name,
- fix error message when requested feature is not supported
5 years ago
ThomasV
570167a2c4
restrict lightning to p2wpkh wallets
5 years ago