ThomasV
e6d680ec1b
instanciate LNWorker without Network
6 years ago
Janus
7cf4f40dcb
ln: warn when negotiated feerate is too low
6 years ago
Janus
8fc1779b0d
ln: add test_lnwatcher
6 years ago
Janus
129099797a
lnworker: handle null whitelist correctly
6 years ago
Janus
3b44cf8c67
lnworker: fix 'channel details' with stuck htlc
6 years ago
Janus
f8dc9b344a
lnbase: work around peer not sending funding_locked so channel doesn't get marked open
6 years ago
Janus
6b6097a453
ln: add closechannel cli command
6 years ago
Janus
bd45f3f1c8
lnworker: return txid from force_close_channel as expected
6 years ago
Janus
38396e8ed4
lnwatcher: fix incorrect tuple unpacking in do_breach_remedy
6 years ago
Janus
38d2d4c321
lnchan: fix per_commitment_point number in verify_htlc
6 years ago
Janus
1f1207ecbe
ln: request_list: post rebase fixup (remove new_request_button deactivation)
6 years ago
ThomasV
02798aeb39
sort requests by date
6 years ago
ThomasV
3ce0f7f0cd
simplify requests list
6 years ago
ThomasV
290a1c61a8
confirmation dialog before force closure
6 years ago
ThomasV
dbcd5fe59d
channel_details: minor fix
6 years ago
ThomasV
3c8dea9b28
lightning: simplify request tab
6 years ago
Janus
51bc02557d
ln: fix sweeping htlc output from remote ctx (timeout e.g. without htlc tx)
6 years ago
Janus
e56e849505
lnchan refactor
- replace undoing logic with new HTLCManager class
- separate SENT/RECEIVED
- move UpdateAddHtlc to lnutil
6 years ago
Janus
ef88bb1c28
request_list: select new items
6 years ago
ThomasV
d9e7807fff
lnpeer: print port in error_messages
6 years ago
Janus
3ccd2fedff
ln: two remaining encumberedTx removal remnants
6 years ago
ThomasV
320dc29732
use to_dict (follow-up baa03a469f3e0e0ae61593272f5cb7e2483d49ad)
6 years ago
Janus
9cbf55f977
request_list: do not mention that ln invoice is bolt-11
6 years ago
Janus
720146ee40
request_list: fix qr code display and keyboard selection of lightning invoices
6 years ago
ThomasV
5776b322f7
formatting
6 years ago
ThomasV
b0f39718bb
remove useless returns and cryptic names
6 years ago
Janus
2c1fcb2f54
ln: remove EncumberedTransaction
6 years ago
Janus
60508725b6
lnbase: fix sig encoding in mutual close
6 years ago
Janus
3975560db5
lnsweep: use dicts consistently
6 years ago
Janus
06d4224101
lnchan: remove debugging code, commented out code
6 years ago
Janus
2323118bda
lnchan: only sign force_close_tx when demanded, assure consistency, fix test
6 years ago
Janus
37a0315aab
lnbase: fix NameError
6 years ago
Janus
1d8fe52fa3
lnchan: make force_close_tx() assure that tx is valid, trigger failure in test
6 years ago
ThomasV
cf3e050b7e
fix error message
6 years ago
ThomasV
8274067619
fix lnsweep: prevout
6 years ago
ThomasV
7e34554d1e
fix test_lnchan
6 years ago
ThomasV
fde9f91902
lnchannel: store pre-signed sweep transactions after each new commitment
6 years ago
ThomasV
3019aa35cf
on_close_channel: fix output index, and simplify lnsweep
6 years ago
ThomasV
729ddb8ec3
LNWatcher refactoring:
- do not store non-breach transactions
- send 'channel_open' and 'channel_closed' events
- force-closed channels are handled by LNWorker
6 years ago
ThomasV
1b7a3c25d1
lnsweep: return ctx.txid instead of None
6 years ago
Janus
56853da391
qt main_window: do not unregister on shutdown
this is handled differently in lightning, see commit
commit 6e355601261a60d143561f15760cc48f9c81d000
Author: ThomasV <thomasv@electrum.org>
Date: Sun Jun 3 10:07:56 2018 +0200
integrate channels_list with existing framework
6 years ago
Janus
545182e0a5
lnsweep: make maybe_create_sweeptx_for_their_ctx_to_local consistent
6 years ago
ThomasV
3aa36c1502
Channel: add current_commitment method
6 years ago
ThomasV
3222e26e01
format message
6 years ago
ThomasV
f4b9d2f47c
show lightning network capacity in GUI
6 years ago
Janus
47c07f77b4
lnsweep: fix create_sweeptxs_for_their_just_revoked_ctx
in the case where an htlc is failed, it could happen
that we use the wrong list of htlcs to generate sweep
tx'es. we would use the pending list instead of the
committed list.
observed by sending 12300sat and then 123000sat,
the second payment fails and an AssertionError was
triggered cause the htlc output could not be found
in the ctx.
added some documentation to clarify the behaviour
of lnchan.included_htlcs.
6 years ago
Janus
1fbce71c1f
update lightning.json
6 years ago
Janus
4a2a45d7e3
lightning: post rebase qt gui fixes
6 years ago
ThomasV
d493dd1953
add pycryptodomex to requirements
6 years ago
Janus
133e5ec8c3
use gossip_timestamp_filter instead of request_initial_sync
6 years ago