Janus
|
7664855e44
|
ln: add was_announced in test_lnhtlc
|
2018-06-20 15:46:41 +02:00 |
|
Janus
|
b668071310
|
ln: don't break channel when failing htlc
|
2018-06-19 15:13:48 +02:00 |
|
Janus
|
7bfca9a951
|
ln: fix reestablishing channel with no mined funding tx
|
2018-06-15 18:36:41 +02:00 |
|
Janus
|
f761e0816c
|
ln: avoid code duplication
|
2018-06-15 16:35:29 +02:00 |
|
Janus
|
f2d651e909
|
test_lnbase: use new Peer API (with lnworker)
|
2018-06-13 16:28:07 +02:00 |
|
Janus
|
1b6a14875a
|
ln: remove unneeded forwarding htlc features, check commitment sig using lnhtlc while receiving
|
2018-06-13 16:28:07 +02:00 |
|
Janus
|
d17ec4d7e3
|
ln: integrate lnhtlc in lnbase, fix multiple lnhtlc bugs
|
2018-06-13 16:28:07 +02:00 |
|
ThomasV
|
3dfb4cdbb6
|
do not block GUI with open_channel
|
2018-06-13 16:28:07 +02:00 |
|
Janus
|
0da069f631
|
ln: htlc state machine (not used yet)
|
2018-06-13 16:28:07 +02:00 |
|
ThomasV
|
39ec22d033
|
fix channel_reestablish
|
2018-06-13 16:28:07 +02:00 |
|
Janus
|
da411bcb1e
|
ln: restore functionality
|
2018-06-13 16:28:07 +02:00 |
|
SomberNight
|
1f06f4c439
|
split lnrouter from lnbase
|
2018-06-13 16:28:07 +02:00 |
|
ThomasV
|
06c96b6f31
|
lightning: move lnworker code to its own module
|
2018-06-13 16:28:07 +02:00 |
|
Janus
|
3680658256
|
lnbase: mSAT hygiene, multiple multi-hop payments can be received
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
7b8735200f
|
lightning: remove hub based approach, port qt gui to lnbase
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
de69ef7921
|
lnbase: use small buffer when reading, support new_channel without payment in online test, send channel_reserve_satoshis
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
15104e04a4
|
lnbase: use correct cltv_expiry calculation (use invoice)
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
164492b4bf
|
lnbase: try multi-hop onion package, type safety
|
2018-06-13 16:28:06 +02:00 |
|
SomberNight
|
fd887ddd70
|
bolt-04: decryption of errors
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
17826daa8c
|
lnbase online test: use random node key when making new channel, save node key, multiple actions per invocation
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
b7f24b816f
|
lnbase: fix pay(), save htlc_id's, generate onion packet correctly
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
e26cdb266a
|
lnbase/online_test: save short_channel_id to wallet and build onion packet with it
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
1a69f909a8
|
lnbase: initial 'payment to remote' attempt
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
5ef939ae4e
|
lnbase: verify commitment tx'es again
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
762689d2b3
|
lnbase: two payments working, temporarily disable sig check
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
81ad6282e0
|
lnbase: store remote revocation store, don't store all remote revocation points, verify ctn numbers in reestablish
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
7e179cfc01
|
lnbase: add RevocationStore test, remove unnecessary lnd helper functions
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
37e85111b0
|
lnbase: compact commitment secret storage
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
0bdce553f4
|
lnbase: receive repeated payments
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
338b4f3fe6
|
tests: don't use default lightning_peers in online test
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
8f97ea9840
|
lnbase: channel reestablishment working
|
2018-06-13 16:28:06 +02:00 |
|
SomberNight
|
7f99293e1e
|
bolt-04: implement processing of onion packets
|
2018-06-13 16:28:06 +02:00 |
|
SomberNight
|
362fcb916f
|
implement bolt-04 onion packet construction
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
4071b123cd
|
lnbase: save channel details in wallet, enable running online test with reestablishment_mode
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
b26cc47756
|
lnbase: move waiting for funding_locked to new function, make function for signing and sig conversion
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
4bb20f4a02
|
lnbase: fix custom local to_self_delay, use node privkey derived from timestamp in online test
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
d9ca086290
|
test_lnbase_online: pass password=None to channel_establishment_flow
|
2018-06-13 16:28:06 +02:00 |
|
ThomasV
|
e679f51012
|
lnbase: derive keys from wallet keystore
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
631282b547
|
lnbase: organize channel data
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
2ae2771f9d
|
lnbase: receiving invoice payment works
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
8a7c440203
|
lnbase: commitment_signed, revoke_and_ack now accepted without errors
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
b0dc461125
|
lnbase: attempt at making htlc_signature to send (currently remote fails due to wrong num_htlcs in commitment_signed)
|
2018-06-13 16:28:06 +02:00 |
|
ThomasV
|
9e81956f9b
|
simplification
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
6edfb94596
|
lnbase: verification of new local commitment working
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
8ac2e0cb9f
|
lnbase: derive next keys when making updated local commitment transaction
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
3cfcc422ec
|
lnbase: try to receive payment, work on commitment tx with htlcs
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
a03df2acef
|
lnbase: handle commitment transaction update (receive funds, not working yet)
|
2018-06-13 16:28:06 +02:00 |
|
Janus
|
9cf341673c
|
simnet/testnet support in bolt11, set max-htlc-value-in-flight
|
2018-06-13 16:28:06 +02:00 |
|
SomberNight
|
e47a4a715d
|
transaction.py: sign_txin. allow override for get_preimage_script.
test_commitment_tx_with_all_five_HTLCs_untrimmed_minimum_feerate now passes
|
2018-06-13 16:28:06 +02:00 |
|
ThomasV
|
22a1e6e6d6
|
lnbase: verify remote signature
|
2018-06-13 16:28:06 +02:00 |
|