SomberNight
|
d44d1a8467
|
calc short_channel_id after funding locked
|
2018-11-05 19:58:45 +01:00 |
|
Janus
|
5f1f9a5cf8
|
lnbase: initial 'payment to remote' attempt
|
2018-11-05 19:58:44 +01:00 |
|
Janus
|
3eb52a1ecd
|
lnbase: formatting, remove imports
|
2018-11-05 19:58:44 +01:00 |
|
Janus
|
95f4114b73
|
lnbase: verify commitment tx'es again
|
2018-11-05 19:58:43 +01:00 |
|
Janus
|
216f476dc9
|
lnbase: infinite amount of incoming payments
|
2018-11-05 19:58:43 +01:00 |
|
Janus
|
f7d3f2fd85
|
lnbase: two payments working, temporarily disable sig check
|
2018-11-05 19:58:42 +01:00 |
|
Janus
|
a78c6b30c6
|
lnbase: store remote revocation store, don't store all remote revocation points, verify ctn numbers in reestablish
|
2018-11-05 19:58:42 +01:00 |
|
Janus
|
9f759c72e4
|
lnbase: add RevocationStore test, remove unnecessary lnd helper functions
|
2018-11-05 19:58:41 +01:00 |
|
Janus
|
29e81d53db
|
lnbase: compact commitment secret storage
|
2018-11-05 19:58:41 +01:00 |
|
Janus
|
6d1594e28a
|
lnbase: no negative commitment number nonsense
|
2018-11-05 19:58:41 +01:00 |
|
Janus
|
d8217cf717
|
lnbase: move channel commitment number increment to function
|
2018-11-05 19:58:40 +01:00 |
|
Janus
|
0da6602581
|
lnbase: receive repeated payments
|
2018-11-05 19:58:40 +01:00 |
|
Janus
|
8d27fda29f
|
lnbase: channel reestablishment working
|
2018-11-05 19:58:39 +01:00 |
|
SomberNight
|
c013ce07f7
|
bolt-04: implement processing of onion packets
|
2018-11-05 19:58:38 +01:00 |
|
SomberNight
|
96f89fbd97
|
minor clean-up of prev. util.xor_bytes
|
2018-11-05 19:58:38 +01:00 |
|
SomberNight
|
1a55e59c6b
|
implement bolt-04 onion packet construction
|
2018-11-05 19:58:37 +01:00 |
|
Janus
|
7210b2d0f8
|
lnbase: save channel details in wallet, enable running online test with reestablishment_mode
|
2018-11-05 19:58:37 +01:00 |
|
Janus
|
6c7f04fdca
|
lnbase: move waiting for funding_locked to new function, make function for signing and sig conversion
|
2018-11-05 19:58:36 +01:00 |
|
Janus
|
04ad312d91
|
lnbase: make function for building htlc_tx depending on if it is for_us/we_receive
|
2018-11-05 19:58:36 +01:00 |
|
Janus
|
7c7c633175
|
lnbase: verify their htlc signature
|
2018-11-05 19:58:35 +01:00 |
|
ThomasV
|
f2bc4e96aa
|
lnbase: standardize to_bytes calls
|
2018-11-05 19:58:35 +01:00 |
|
Janus
|
e7a85302e0
|
lnbase: fix custom local to_self_delay, use node privkey derived from timestamp in online test
|
2018-11-05 19:58:34 +01:00 |
|
Janus
|
3780419697
|
lnbase: avoid copying variables, insert newlines
|
2018-11-05 19:58:33 +01:00 |
|
ThomasV
|
d921aa50dd
|
lnbase: derive keys from wallet keystore
|
2018-11-05 19:58:33 +01:00 |
|
Janus
|
ca10bc6cb0
|
lnbase: avoid local variables, remote useless comments, name basepoints as such
|
2018-11-05 19:58:32 +01:00 |
|
Janus
|
022b985de8
|
lnbase: set new field in Transaction instead of returning a tuple in make_commitment
|
2018-11-05 19:58:32 +01:00 |
|
Janus
|
88f270a170
|
lnbase: set to_self_delay back to 144, defer cltv_expiry problem
|
2018-11-05 19:58:32 +01:00 |
|
Janus
|
aa3723797c
|
lnbase: use correct delay
|
2018-11-05 19:58:31 +01:00 |
|
Janus
|
e3a33bdb5e
|
lnbase: avoid code duplication, return htlc outpoint dict in make_commitment
|
2018-11-05 19:58:31 +01:00 |
|
Janus
|
a458bf76ba
|
lnbase: simplify commitment transaction building with open channel
|
2018-11-05 19:58:30 +01:00 |
|
Janus
|
ca74023d7e
|
lnbase: organize channel data
|
2018-11-05 19:58:30 +01:00 |
|
Janus
|
b63c079c53
|
lnbase: allow passing KeypairGenerator to channel_establishment_flow, fix derive_privkey
|
2018-11-05 19:58:29 +01:00 |
|
Janus
|
148b063ca0
|
lnbase: receiving invoice payment works
|
2018-11-05 19:58:29 +01:00 |
|
Janus
|
86154028fd
|
lnbase: commitment_signed, revoke_and_ack now accepted without errors
|
2018-11-05 19:58:28 +01:00 |
|
SomberNight
|
f2ba49bd56
|
bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness
|
2018-11-05 19:58:28 +01:00 |
|
Janus
|
6c5cac5c4f
|
lnbase: fix their new commitment transaction (htlc tx construction still incorrect)
|
2018-11-05 19:58:27 +01:00 |
|
ThomasV
|
209a3dfabc
|
lnbase: fix bug in message parsing
|
2018-11-05 19:58:27 +01:00 |
|
ThomasV
|
df60d4eb05
|
follow up b5eb7dd7683f24f03c80ab8f612658b5f3966eb1
|
2018-11-05 19:58:26 +01:00 |
|
Janus
|
8b4bdf6fc0
|
lnbase: attempt at making htlc_signature to send (currently remote fails due to wrong num_htlcs in commitment_signed)
|
2018-11-05 19:58:26 +01:00 |
|
ThomasV
|
7dabdad7a7
|
simplification
|
2018-11-05 19:58:25 +01:00 |
|
Janus
|
a84b2c146b
|
lnbase: add TODO explaining how to verify htlc_signature given to us
|
2018-11-05 19:58:25 +01:00 |
|
Janus
|
a96b88738f
|
lnbase: verification of new local commitment working
|
2018-11-05 19:58:24 +01:00 |
|
Janus
|
e69d5a5d6d
|
lnbase: derive next keys when making updated local commitment transaction
|
2018-11-05 19:58:24 +01:00 |
|
Janus
|
f489fc38ad
|
lnbase: try to receive payment, work on commitment tx with htlcs
|
2018-11-05 19:58:24 +01:00 |
|
Janus
|
4a13146439
|
lnbase: handle commitment transaction update (receive funds, not working yet)
|
2018-11-05 19:58:23 +01:00 |
|
Janus
|
85358b6bd1
|
simnet/testnet support in bolt11, set max-htlc-value-in-flight
|
2018-11-05 19:58:23 +01:00 |
|
SomberNight
|
d844b20d41
|
transaction.py: sign_txin. allow override for get_preimage_script.
test_commitment_tx_with_all_five_HTLCs_untrimmed_minimum_feerate now passes
|
2018-11-05 19:58:22 +01:00 |
|
ThomasV
|
ea41d6f0f3
|
redundant: you subscribed only to 'updated'
|
2018-11-05 19:58:22 +01:00 |
|
ThomasV
|
8ee71b623f
|
lnbase: verify remote signature
|
2018-11-05 19:58:21 +01:00 |
|
SomberNight
|
38edf1ee64
|
channel_establishment_flow: use get_per_commitment_secret_from_seed
|
2018-11-05 19:58:21 +01:00 |
|