Janus
03920c853d
lnworker: return txid from force_close_channel as expected
6 years ago
Janus
2601ab951a
lnwatcher: fix incorrect tuple unpacking in do_breach_remedy
6 years ago
Janus
5d5c24a423
lnchan: fix per_commitment_point number in verify_htlc
6 years ago
Janus
c4f1bd17ef
ln: request_list: post rebase fixup (remove new_request_button deactivation)
6 years ago
ThomasV
4653c34a03
sort requests by date
6 years ago
ThomasV
cb0bf2f64c
simplify requests list
6 years ago
ThomasV
d192be831b
confirmation dialog before force closure
6 years ago
ThomasV
73a8472cce
channel_details: minor fix
6 years ago
ThomasV
0bf8685e0f
lightning: simplify request tab
6 years ago
Janus
dfae4639de
ln: fix sweeping htlc output from remote ctx (timeout e.g. without htlc tx)
6 years ago
Janus
d1d0906764
lnchan refactor
- replace undoing logic with new HTLCManager class
- separate SENT/RECEIVED
- move UpdateAddHtlc to lnutil
6 years ago
Janus
3bfd284fb0
request_list: select new items
6 years ago
ThomasV
542970aafd
lnpeer: print port in error_messages
6 years ago
Janus
a94c24cf73
ln: two remaining encumberedTx removal remnants
6 years ago
ThomasV
fcaeb1c870
use to_dict (follow-up baa03a469f3e0e0ae61593272f5cb7e2483d49ad)
6 years ago
Janus
bbc5ae1f94
request_list: do not mention that ln invoice is bolt-11
6 years ago
Janus
09b1cd4d79
request_list: fix qr code display and keyboard selection of lightning invoices
6 years ago
ThomasV
de350bf192
formatting
6 years ago
ThomasV
c1580b231e
remove useless returns and cryptic names
6 years ago
Janus
7fe8981ade
ln: remove EncumberedTransaction
6 years ago
Janus
7b1ff8d83f
lnbase: fix sig encoding in mutual close
6 years ago
Janus
8f3761e33c
lnsweep: use dicts consistently
6 years ago
Janus
4e98afd76b
lnchan: remove debugging code, commented out code
6 years ago
Janus
efdf0296cf
lnchan: only sign force_close_tx when demanded, assure consistency, fix test
6 years ago
Janus
9d94ec7fc0
lnbase: fix NameError
6 years ago
Janus
fdfc1b3af4
lnchan: make force_close_tx() assure that tx is valid, trigger failure in test
6 years ago
ThomasV
ffd58e1303
fix error message
6 years ago
ThomasV
64f3245686
fix lnsweep: prevout
6 years ago
ThomasV
b577a800a9
fix test_lnchan
6 years ago
ThomasV
15faefe33d
lnchannel: store pre-signed sweep transactions after each new commitment
6 years ago
ThomasV
7fc74f5374
on_close_channel: fix output index, and simplify lnsweep
6 years ago
ThomasV
c354f524e0
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
d83f2124d3
lnsweep: return ctx.txid instead of None
6 years ago
Janus
bbdf35604e
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
741b24ddc3
lnsweep: make maybe_create_sweeptx_for_their_ctx_to_local consistent
6 years ago
ThomasV
d30b2643e0
Channel: add current_commitment method
6 years ago
ThomasV
90954066c1
format message
6 years ago
ThomasV
b7390dda1c
show lightning network capacity in GUI
6 years ago
Janus
b8f307bec7
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
60bc2979fe
update lightning.json
6 years ago
Janus
736716b116
lightning: post rebase qt gui fixes
6 years ago
ThomasV
291301c46e
add pycryptodomex to requirements
6 years ago
Janus
0ab47ffd1c
use gossip_timestamp_filter instead of request_initial_sync
6 years ago
Janus
cd2d1c2422
qt: channel_details: add more info: sent/received, channel id, funding tx, short channel id, node id
6 years ago
Janus
12dc9dd040
lnaddr: make it possible to use lnaddr to decode arbitrary invoices on the cmd line
6 years ago
SomberNight
093e90653d
rm 'cryptography' as dependency; use new pycryptodomex version
pycryptodomex 3.7 implemented chacha20_poly1305 and chacha20,
and it is already used (although optionally) to speed up AES,
so we can remove cryptography and make pycryptodomex mandatory for LN
6 years ago
ThomasV
59ff17bd23
fix channel closure:
- add 'CLOSING' state
- wait until channel has no inflight HTLC
- end fee negocitation when both parties agree on the fee
(previously code ended it only when the other party had broadcast)
- broadcast the closing transaction
6 years ago
ThomasV
43d250573d
follow up 'replace properties with functions'
6 years ago
ThomasV
c64d56cabf
further simplify lnwatcher
6 years ago
SomberNight
3b3cb6cc2d
lnchan: restore process_new_offchain_ctx
6 years ago