ThomasV
d4b21fab27
lightning:
* store invoices for both directions
* do not store lightning_payments_inflight, lightning_payments_completed in lnworker
* payment history is returned by get_payments method of LNChannel
* command line: lightning history, lightning_invoices
* re-enable push_msat
6 years ago
Janus
9a02100073
lnbase: fix on_open_channel, add TODOs for missing validation
6 years ago
Janus
09366b4a09
revert low max_htlc_value_in_flight_msat, fix test
spec does not mention that there can be an upper bound
on max_htlc_value_in_flight_msat, so don't try to make
any node happy that has a max limit on this.
6 years ago
Janus
22e34d3d8f
ln: handle channel limits better, show remote limits in details dialog, replace rusty's testnet peer (doesn't work currently)
6 years ago
ThomasV
7005aa8510
rename paying -> inflight
6 years ago
ThomasV
efa77cbafd
turn lightning_payments_completed into dict. Show status of lightning payments in GUI. Make 'listchannels' available offline
6 years ago
ThomasV
cd98bdb5a8
fix test
6 years ago
ThomasV
2a21d41934
remove deterministic derivation for testing
6 years ago
ThomasV
ca1201c9c2
instanciate LNWorker without Network
6 years ago
Janus
9b91ffedcc
ln: warn when negotiated feerate is too low
6 years ago
Janus
6197b8ba34
ln: add test_lnwatcher
6 years ago
Janus
7f28fc70c4
lnworker: handle null whitelist correctly
6 years ago
Janus
612cded39b
lnworker: fix 'channel details' with stuck htlc
6 years ago
Janus
57508b1cfb
lnbase: work around peer not sending funding_locked so channel doesn't get marked open
6 years ago
Janus
466d830e1a
ln: add closechannel cli command
6 years ago
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