SomberNight
8470878221
improve Qt Receive tab for LN payment requests
7 years ago
ThomasV
9725aaa7ab
Separate open_channel dialog. In open_channel_coroutine, use host and port from channel announcements
7 years ago
Janus
38e1428b7f
ln: use new non-classmethod add_signature_to_txin
7 years ago
ThomasV
9def3f1269
do not set channel state in close_channel; the watcher should do it
7 years ago
ThomasV
01c8fbc7a2
lightning: single shared instance of Watcher, ChannelDB and PathFinder
7 years ago
ThomasV
f8a5c3059f
reestablish channels in network callback
7 years ago
ThomasV
63583f7e95
channel watcher class
7 years ago
Janus
3b52509026
ln: close channels
7 years ago
Janus
b45de79173
ln: don't corrupt channels storage when multiple funding_locked are received
7 years ago
Janus
93820e77bd
ln: announcement reliability fixes for qt, remove asserts forbidding unbalanced channels
7 years ago
Janus
4b44d9c1a6
ln: begin handling htlc failures
7 years ago
Janus
000dd30e99
ln: channel announcements
7 years ago
Janus
187456b5b1
ln: integrate lnhtlc in lnbase, fix multiple lnhtlc bugs
7 years ago
Janus
f76a2f69e7
ln: request_initial_sync, increase our max_htlc_value, fix receiving payment
7 years ago
ThomasV
12d231eb90
do not block GUI with open_channel
7 years ago
ThomasV
b6e73fa94f
revert the introduction of add_invoice_coroutine in a612c2b09
7 years ago
ThomasV
1206dc9419
do not pass channel list to update_rows signal, as it is sent to all windows
7 years ago
SomberNight
0a77bac351
wait for peer.initialized in channel_establishment_flow
7 years ago
ThomasV
a912890a56
simplify funding_locked
expose lnworker in peer
update channel_db when channels are open
7 years ago
ThomasV
d7770ff38a
Display channel status in the GUI.
Do not convert channel_id to integer; there is no reason to do that.
7 years ago
ThomasV
c7ae9a4ba0
integrate channels_list with existing framework
7 years ago
ThomasV
c5d13bca4b
follow-up a612c2b0983ab4c6798156aebf1cd550fb3e0447
7 years ago
Janus
26fb975d78
ln: save channels in dict, warn on invoice exceeding max_htlc amount
7 years ago
ThomasV
cad1916589
lightning: connect send button
7 years ago
ThomasV
320957af3e
lightning GUI: use existing receive and send tabs with lightning invoices
7 years ago
Janus
97dfce6c52
ln: don't make invoice if peer can't possibly pay, append _sat to sat
parameters to avoid confusion
7 years ago
ThomasV
9dc91f2c9c
lnworker: generate and save private key
7 years ago
ThomasV
90d5dd2df4
lnworker: separate invoice creation from payment flow
7 years ago
Janus
44ccc39fc4
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
eb4d151324
fix channel_reestablish
7 years ago
Janus
c9ac5d1376
ln: restore functionality
7 years ago
Janus
9466080c25
ln: save remote node_id in channel
7 years ago
SomberNight
5379c36e70
split lnrouter from lnbase
7 years ago
ThomasV
a9f87e3466
move on_funding_locked to lnworker
7 years ago
ThomasV
753d6e104b
lightning: add payment methods to lnworker
7 years ago
ThomasV
2ae488df18
lightning: move lnworker code to its own module
7 years ago
Janus
b889c9fd29
lnbase: mSAT hygiene, multiple multi-hop payments can be received
7 years ago
Janus
c2956948cd
lightning: remove hub based approach, port qt gui to lnbase
7 years ago
Janus
bba33d46db
lnbase: use small buffer when reading, support new_channel without payment in online test, send channel_reserve_satoshis
7 years ago
Janus
30506ec243
lnbase: use correct cltv_expiry calculation (use invoice)
7 years ago
Janus
9ef9bfa469
lnbase online test: use random node key when making new channel, save node key, multiple actions per invocation
7 years ago
Janus
adc7dd92e3
lnbase: fix pay(), save htlc_id's, generate onion packet correctly
7 years ago
Janus
27dc309d2a
lnbase/online_test: save short_channel_id to wallet and build onion packet with it
7 years ago
Janus
7ad08acc59
lnbase: initial 'payment to remote' attempt
7 years ago
Janus
a617cdc71c
lnbase: verify commitment tx'es again
7 years ago
Janus
7b335d9e45
lnbase: two payments working, temporarily disable sig check
7 years ago
Janus
d98446bbf5
lnbase: store remote revocation store, don't store all remote revocation points, verify ctn numbers in reestablish
7 years ago
Janus
91d6a5af02
lnbase: receive repeated payments
7 years ago
Janus
fe6075120c
tests: don't use default lightning_peers in online test
7 years ago
Janus
e5f73120f6
lnbase: channel reestablishment working
7 years ago