ThomasV
b265212fe6
show amount in channel opening/closure
6 years ago
ThomasV
d9813540ac
fix: test short_channel_id before removing from channel_db
6 years ago
ThomasV
108a986ef0
history tab: render channel opening/closure on a single line
6 years ago
ThomasV
82e8bcebb6
restructure channel_reestablish, resend funding_locked if needed
6 years ago
ThomasV
8e753f998a
fix tests
6 years ago
ThomasV
a3c6f82bb2
move LNPeer handshake back into initialize
6 years ago
ThomasV
42cbe74e95
history: better handling of None timestamps
6 years ago
ThomasV
2a112b867b
follow-up previous commit
6 years ago
ThomasV
b5482e4470
create transport and perform handshake before creating Peer
6 years ago
ThomasV
61638664f7
do not add ephemeral addresses to recent peers
6 years ago
ThomasV
472e82e387
fix channel closure when it was requested by the remote party
6 years ago
ThomasV
d383573bc3
CLI: use funding_point in channel_open and channel_close. add host:port to nodeid
6 years ago
ThomasV
0924503cb6
rpartition->rsplit
6 years ago
ThomasV
776caeeff0
follow-up prev commit: use maxsize to sort timestamps
6 years ago
ThomasV
f04e10f61a
save channel timestamps, and show lightning payments in history tab
6 years ago
ThomasV
ae402303ca
channel: is_closed
6 years ago
ThomasV
f6f5cbee72
fix lnworker.get_balance
6 years ago
ThomasV
b7d93e2e11
gui: display lightning balance in status bar
6 years ago
Janus
18bd934461
ln: show full chan id in list, use Event for initialized, more timeouts, return peer from add_peer, set max_htlc_value_in_flight_msat to capacity
6 years ago
ThomasV
19e60f00bb
add watchtower_window
6 years ago
ThomasV
7bb4ea150f
gui: show incoming lightning requests, add on-chain icon
6 years ago
ThomasV
2af178a586
Store boolean is_received in lightning invoices. Sort lightning history with timestamp. Minor fixes
6 years ago
Janus
4e3b2b5479
tests: update lnbase test to use 4-tuple for invoices
6 years ago
ThomasV
281d51c002
follow-up prev commit
6 years ago
ThomasV
0e8dba897e
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
d80b709aa4
lnbase: fix on_open_channel, add TODOs for missing validation
6 years ago
Janus
d5ed4309bb
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
e6bd3959e0
ln: handle channel limits better, show remote limits in details dialog, replace rusty's testnet peer (doesn't work currently)
6 years ago
ThomasV
0a08ccc1c6
rename paying -> inflight
6 years ago
ThomasV
b0d6000771
turn lightning_payments_completed into dict. Show status of lightning payments in GUI. Make 'listchannels' available offline
6 years ago
ThomasV
26ced1b343
fix test
6 years ago
ThomasV
d789f11898
remove deterministic derivation for testing
6 years ago
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