Commit Graph

30 Commits

Author SHA1 Message Date
Janus
c7a0b61368 lnbase: mSAT hygiene, multiple multi-hop payments can be received 2018-06-26 19:31:41 +02:00
Janus
c796ef9fcc lightning: remove hub based approach, port qt gui to lnbase 2018-06-26 19:31:41 +02:00
Janus
91284dba13 lnbase: use small buffer when reading, support new_channel without payment in online test, send channel_reserve_satoshis 2018-06-26 19:30:08 +02:00
Janus
cad74463f2 lnbase: use correct cltv_expiry calculation (use invoice) 2018-06-26 19:30:08 +02:00
Janus
d043ed9b21 lnbase online test: use random node key when making new channel, save node key, multiple actions per invocation 2018-06-26 19:30:08 +02:00
Janus
57c578b28c lnbase: fix pay(), save htlc_id's, generate onion packet correctly 2018-06-26 19:30:08 +02:00
Janus
83ace8ada4 lnbase/online_test: save short_channel_id to wallet and build onion packet with it 2018-06-26 19:30:08 +02:00
Janus
1fb5561011 lnbase: initial 'payment to remote' attempt 2018-06-26 19:30:08 +02:00
Janus
26e821e34e lnbase: verify commitment tx'es again 2018-06-26 19:30:08 +02:00
Janus
d4b549b63f lnbase: two payments working, temporarily disable sig check 2018-06-26 19:30:08 +02:00
Janus
ef0c840b22 lnbase: store remote revocation store, don't store all remote revocation points, verify ctn numbers in reestablish 2018-06-26 19:30:08 +02:00
Janus
cf615eb65e lnbase: receive repeated payments 2018-06-26 19:30:08 +02:00
Janus
510e3e4662 tests: don't use default lightning_peers in online test 2018-06-26 19:30:08 +02:00
Janus
6b1451b566 lnbase: channel reestablishment working 2018-06-26 19:30:08 +02:00
Janus
9134aa30e4 lnbase: save channel details in wallet, enable running online test with reestablishment_mode 2018-06-26 19:30:08 +02:00
Janus
b57d07c294 lnbase: move waiting for funding_locked to new function, make function for signing and sig conversion 2018-06-26 19:30:08 +02:00
Janus
507ff4eea1 lnbase: fix custom local to_self_delay, use node privkey derived from timestamp in online test 2018-06-26 19:30:08 +02:00
Janus
558727e1f3 test_lnbase_online: pass password=None to channel_establishment_flow 2018-06-26 19:30:08 +02:00
ThomasV
f20a935bef lnbase: derive keys from wallet keystore 2018-06-26 19:30:08 +02:00
Janus
7a5eb7c9d7 lnbase: organize channel data 2018-06-26 19:30:08 +02:00
Janus
3d60e9d631 lnbase: receiving invoice payment works 2018-06-26 19:30:08 +02:00
Janus
75a004eea1 lnbase: commitment_signed, revoke_and_ack now accepted without errors 2018-06-26 19:30:08 +02:00
Janus
64be96fb8a lnbase: attempt at making htlc_signature to send (currently remote fails due to wrong num_htlcs in commitment_signed) 2018-06-26 19:30:08 +02:00
Janus
30b1416807 lnbase: derive next keys when making updated local commitment transaction 2018-06-26 19:30:08 +02:00
Janus
ee4673c0e9 lnbase: try to receive payment, work on commitment tx with htlcs 2018-06-26 19:30:08 +02:00
Janus
21744f5d68 lnbase: handle commitment transaction update (receive funds, not working yet) 2018-06-26 19:30:08 +02:00
Janus
f962457b9f simnet/testnet support in bolt11, set max-htlc-value-in-flight 2018-06-26 19:30:08 +02:00
Janus
35cba497f4 lnbase: avoid race while waiting for funding_locked, wait for un-reversed hash 2018-06-26 19:30:08 +02:00
SomberNight
205ee0019a channel_establishment_flow: wait for confirmations of funding txn 2018-06-26 19:30:08 +02:00
ThomasV
d34c902776 lightning: separate testing from main code 2018-06-26 19:30:07 +02:00