Commit Graph

4218 Commits

Author SHA1 Message Date
ThomasV
c74ec38f2e qt: fix password passed to open_channel, cleanup 2018-06-26 19:31:41 +02:00
Janus
c7a0b61368 lnbase: mSAT hygiene, multiple multi-hop payments can be received 2018-06-26 19:31:41 +02:00
Janus
4644c68733 kivy: port lightning ui to lnbase 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
fbeff88515 lnbase: fix multi-hop payments 2018-06-26 19:30:08 +02:00
Janus
e05d37f5c0 lnbase: fix onion-hop payload construction again (cltv currently broken) 2018-06-26 19:30:08 +02:00
Janus
7a2f2ea904 lnbase: fix multi-hop fees, initial handling of received update_add_htlc during payment 2018-06-26 19:30:08 +02:00
Janus
71655fd705 lnbase: calculate cltv_expiry for onion_packet correctly 2018-06-26 19:30:08 +02:00
Janus
9569a46166 lnbase: try multi-hop onion package, type safety 2018-06-26 19:30:08 +02:00
SomberNight
a6317164ca PathFinder: change path element semantics from "from node, take edge" to "to get to node, use edge" 2018-06-26 19:30:08 +02:00
SomberNight
ac64246086 create route from path, that includes extra info needed for routing 2018-06-26 19:30:08 +02:00
SomberNight
230e112238 bolt-04: decryption of errors 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
SomberNight
79b2144672 calc short_channel_id after funding locked 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
eb8d1ee9a7 lnbase: formatting, remove imports 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
e6c499fef2 lnbase: infinite amount of incoming payments 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
dbb8ff362f lnbase: add RevocationStore test, remove unnecessary lnd helper functions 2018-06-26 19:30:08 +02:00
Janus
7a55ae19b6 lnbase: compact commitment secret storage 2018-06-26 19:30:08 +02:00
Janus
2cf8b8ae6f lnbase: no negative commitment number nonsense 2018-06-26 19:30:08 +02:00
Janus
3a7f6b0186 lnbase: move channel commitment number increment to function 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
SomberNight
d5333a2a2d bolt-04: implement processing of onion packets 2018-06-26 19:30:08 +02:00
SomberNight
5824a0a790 minor clean-up of prev. util.xor_bytes 2018-06-26 19:30:08 +02:00
SomberNight
1d75df5509 implement bolt-04 onion packet construction 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
4d1bffdc7a lnbase: make function for building htlc_tx depending on if it is for_us/we_receive 2018-06-26 19:30:08 +02:00
Janus
3d8e560c1f lnbase: verify their htlc signature 2018-06-26 19:30:08 +02:00
ThomasV
44e7d06b34 lnbase: standardize to_bytes calls 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
Janus
fd5f66b8af lnbase: avoid copying variables, insert newlines 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
83fbb1a248 lnbase: avoid local variables, remote useless comments, name basepoints as such 2018-06-26 19:30:08 +02:00
Janus
d5e464c29e lnbase: set new field in Transaction instead of returning a tuple in make_commitment 2018-06-26 19:30:08 +02:00
Janus
e53a8107e4 lnbase: set to_self_delay back to 144, defer cltv_expiry problem 2018-06-26 19:30:08 +02:00
Janus
ef0de2a77c lnbase: use correct delay 2018-06-26 19:30:08 +02:00
Janus
0cb722ae3a lnbase: avoid code duplication, return htlc outpoint dict in make_commitment 2018-06-26 19:30:08 +02:00
Janus
28593d703d lnbase: simplify commitment transaction building with open channel 2018-06-26 19:30:08 +02:00
Janus
7a5eb7c9d7 lnbase: organize channel data 2018-06-26 19:30:08 +02:00