Janus
4d25933898
ln: integrate lnhtlc in lnbase, fix multiple lnhtlc bugs
7 years ago
Janus
5ed6f79a33
ln: request_initial_sync, increase our max_htlc_value, fix receiving payment
7 years ago
ThomasV
6e71340e52
do not block GUI with open_channel
7 years ago
ThomasV
40fcf58fec
lightning: display remote balance in gui
7 years ago
ThomasV
2b9be294a0
lnbase: mark_open on startup
7 years ago
ThomasV
f1d067f446
revert the introduction of add_invoice_coroutine in a612c2b09
7 years ago
ThomasV
aeb58dbd66
do not pass channel list to update_rows signal, as it is sent to all windows
7 years ago
SomberNight
6f246b90bf
wait for peer.initialized in channel_establishment_flow
7 years ago
ThomasV
11c6fce7bf
follow up 0b3a882e7d57c8a42be48c491a46dc814eab6acb
7 years ago
ThomasV
2ae4b1862d
simplify funding_locked
expose lnworker in peer
update channel_db when channels are open
7 years ago
ThomasV
21c883bd0b
Display channel status in the GUI.
Do not convert channel_id to integer; there is no reason to do that.
7 years ago
ThomasV
bf6d28e1f0
integrate channels_list with existing framework
7 years ago
ThomasV
4fe912f4b3
qt: fix unit of lnaddr.amount
7 years ago
ThomasV
6263b472d9
follow-up a612c2b0983ab4c6798156aebf1cd550fb3e0447
7 years ago
Janus
497706afbf
ln: htlc state machine (not used yet)
7 years ago
Janus
85e18be7d0
ln: save channels in dict, warn on invoice exceeding max_htlc amount
7 years ago
ThomasV
34d5f1b2e3
lightning: connect send button
7 years ago
ThomasV
12d3877873
lightning GUI: use existing receive and send tabs with lightning invoices
7 years ago
Janus
7d2a6d83d5
ln: don't make invoice if peer can't possibly pay, append _sat to sat
parameters to avoid confusion
7 years ago
ThomasV
b74d4261af
lnworker: generate and save private key
7 years ago
ThomasV
af4f0b6daf
lnworker: separate invoice creation from payment flow
7 years ago
Janus
ae3971259d
ln: restore channels correctly after restart
* save funding_locked_received: if a node already sent us
funding_locked, save it to avoid superfluous messages
* use Queues instead of Futures: this ensure that we don't error if we
receive two messages of the same type, and in avoids having to delete
futures in finally blocks. A queue monitor could be added to detect
queue elements that are not popped.
* request initial routing sync: since we don't store the graph yet, it
is better to request the graph from the Peer so that we can route
* channel_state cleanup: now each channel should have a state, which is
initialized to OPENING and only marked OPEN once we have verified that
the funding_tx has been mined
7 years ago
ThomasV
aafbe74a28
fix channel_reestablish
7 years ago
ThomasV
1f6646fa25
lnbase: fix read_message
7 years ago
Janus
6a8e5d5954
ln: restore functionality
7 years ago
Janus
4268be9093
ln: save remote node_id in channel
7 years ago
SomberNight
8ba63380b4
split lnrouter from lnbase
7 years ago
SomberNight
f6763b6084
remove function H256
7 years ago
ThomasV
762dea6593
fix amount in open_channel, add listchannels command
7 years ago
ThomasV
b71f020fc9
move on_funding_locked to lnworker
7 years ago
ThomasV
0552c61b66
lightning: add payment methods to lnworker
7 years ago
ThomasV
c621ae8f6e
lightning: move lnworker code to its own module
7 years ago
ThomasV
f66377604d
fix lnaddr.py following rebase
7 years ago
ThomasV
5666188e9e
update lnbase after crypto refactoring
7 years ago
Janus
1d8c771440
lnbase: remove lnbase stub
7 years ago
ThomasV
8abd072c89
lnbase: pass password to mktx
7 years ago
ThomasV
5a819611c8
qt: fix password passed to open_channel, cleanup
7 years ago
Janus
6ac15962dc
lnbase: mSAT hygiene, multiple multi-hop payments can be received
7 years ago
Janus
10e8a90224
kivy: port lightning ui to lnbase
7 years ago
Janus
18963405ee
lightning: remove hub based approach, port qt gui to lnbase
7 years ago
Janus
4fdf1b9b84
lnbase: use small buffer when reading, support new_channel without payment in online test, send channel_reserve_satoshis
7 years ago
Janus
5d375de30e
lnbase: use correct cltv_expiry calculation (use invoice)
7 years ago
Janus
eeb027babc
lnbase: fix multi-hop payments
7 years ago
Janus
001ab4e3bc
lnbase: fix onion-hop payload construction again (cltv currently broken)
7 years ago
Janus
1d267f1226
lnbase: fix multi-hop fees, initial handling of received update_add_htlc during payment
7 years ago
Janus
f6995b99d9
lnbase: calculate cltv_expiry for onion_packet correctly
7 years ago
Janus
6c67ad24f3
lnbase: try multi-hop onion package, type safety
7 years ago
SomberNight
43eb33327e
PathFinder: change path element semantics from "from node, take edge" to "to get to node, use edge"
7 years ago
SomberNight
50cc603d91
create route from path, that includes extra info needed for routing
7 years ago
SomberNight
5b1da26041
bolt-04: decryption of errors
7 years ago