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
|
bd45f3f1c8
|
lnworker: return txid from force_close_channel as expected
|
6 years ago |
Janus
|
e56e849505
|
lnchan refactor
- replace undoing logic with new HTLCManager class
- separate SENT/RECEIVED
- move UpdateAddHtlc to lnutil
|
6 years ago |
ThomasV
|
cf3e050b7e
|
fix error message
|
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 |
Janus
|
133e5ec8c3
|
use gossip_timestamp_filter instead of request_initial_sync
|
7 years ago |
Janus
|
864d910888
|
qt: channel_details: add more info: sent/received, channel id, funding tx, short channel id, node id
|
7 years ago |
SomberNight
|
595cfcbb65
|
move sweeping methods from lnchan.py to new file
also sweep "received" htlcs from "our" ctx
also sweep htlcs from their ctx (non-breach)
extract ctn; included_htlcs_in_their_latest_ctxs
|
7 years ago |
ThomasV
|
88c6eeb966
|
make LNWatcher inherit AddressSynchronizer
|
7 years ago |
Janus
|
e3409d32ef
|
channel details with list of htlcs
|
7 years ago |
Janus
|
9d32031ca2
|
Kivy: Lightning support in Receive tab
|
7 years ago |
Janus
|
7db9a22d63
|
Kivy: open channel dialog
|
7 years ago |
Janus
|
1352b0ce9f
|
Kivy: Support Lightning in Send tab
|
7 years ago |
Janus
|
1425628604
|
add command for listing invoices and their progress, fix list_channels
|
7 years ago |
Janus
|
c570bc5fb1
|
avoid leaving FORCE_CLOSING state, rebroadcast closing tx if reorged out
|
7 years ago |
Janus
|
0ea87278fb
|
move force_close_channel to lnbase, test it, add FORCE_CLOSING state
|
7 years ago |
SomberNight
|
c0ae7b5534
|
after rebase clean-up
|
7 years ago |
Janus
|
7e76e82152
|
test_lnbase: add test that pays to another local electrum
|
7 years ago |
SomberNight
|
449ec013fe
|
add licence headers to more files
|
7 years ago |
Janus
|
a42c1067ab
|
lnworker: fix listchannels
|
7 years ago |
ThomasV
|
eb4e6b2e54
|
use WaitingDialog to close channels
|
7 years ago |
ThomasV
|
70dbd8e672
|
add close_channel method to peer
|
7 years ago |
SomberNight
|
54edc9488a
|
lnworker: store invoices based on payment_hash
|
7 years ago |
SomberNight
|
f70e679aba
|
some more type annotations that needed conditional imports
|
7 years ago |
SomberNight
|
2364de930b
|
lnrouter: run Dijkstra in reverse direction
|
7 years ago |
SomberNight
|
7edbd5682a
|
fix confusion re max path length
|
7 years ago |
SomberNight
|
2fafd01945
|
protect against getting robbed through routing fees
|
7 years ago |
SomberNight
|
d511ecdc00
|
start failing htlcs
|
7 years ago |
SomberNight
|
dfe61e15c3
|
invoice 'r' field fallback: change cltv to 1
|
7 years ago |
ThomasV
|
02c39a950f
|
encapsulate get_invoice in lnworker
|
7 years ago |
SomberNight
|
e6a0b641d5
|
lnaddr: encode min_final_cltv into invoice
|
7 years ago |
SomberNight
|
384fd665b3
|
log if no invoice has no routing hints
|
7 years ago |
ThomasV
|
87cc312d1e
|
improve suggest_peers; add htlcs to list_channels.
|
7 years ago |
SomberNight
|
9de6028fb5
|
clean-up Peer init
|
7 years ago |
SomberNight
|
25c2657680
|
if channel_update for our channel is missing, fill invoice with zeroes
|
7 years ago |
SomberNight
|
2e5552816c
|
if payment fails with UPDATE onion error, also utilise channel_update for private channels
|
7 years ago |
Janus
|
962f70c7da
|
ln: add lightning_listen config option
|
7 years ago |
SomberNight
|
ff0aa90ddf
|
lnworker: make add_peer async
|
7 years ago |
SomberNight
|
a91e244a05
|
path finding: minor clean-up
|
7 years ago |
ThomasV
|
9a59ffaf44
|
lnrouter: filter out unsuitable channels
|
7 years ago |
ThomasV
|
445252284f
|
move transport code to its own file
|
7 years ago |
ThomasV
|
910e85ec01
|
future and callback are not needed here
|
7 years ago |