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 |
|
Janus
|
881181a3f2
|
lnbase: allow passing KeypairGenerator to channel_establishment_flow, fix derive_privkey
|
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 |
|
SomberNight
|
81d94a7253
|
bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
0ff942c3c8
|
lnbase: fix their new commitment transaction (htlc tx construction still incorrect)
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
ac70a10856
|
lnbase: fix bug in message parsing
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
5bb310ac10
|
follow up b5eb7dd7683f24f03c80ab8f612658b5f3966eb1
|
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 |
|
ThomasV
|
cf677d1f1c
|
simplification
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
08d187c650
|
lnbase: add TODO explaining how to verify htlc_signature given to us
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
2bcb294fb3
|
lnbase: verification of new local commitment working
|
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 |
|
SomberNight
|
32e35e9010
|
transaction.py: sign_txin. allow override for get_preimage_script.
test_commitment_tx_with_all_five_HTLCs_untrimmed_minimum_feerate now passes
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
3051b1a33e
|
redundant: you subscribed only to 'updated'
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
dc45467c46
|
follow-up prev commit
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
93e526a952
|
lnbase: verify remote signature
|
2018-06-26 19:30:08 +02:00 |
|
SomberNight
|
cb312538dc
|
channel_establishment_flow: use get_per_commitment_secret_from_seed
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
e92c468e91
|
lnbase: improve htlc_tx generation (only localsig wrong)
|
2018-06-26 19:30:08 +02:00 |
|
SomberNight
|
3108e0bf81
|
get_per_commitment_secret_from_seed: small clean-up
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
8fe28bae03
|
fix derive_secret
|
2018-06-26 19:30:08 +02:00 |
|
SomberNight
|
2897ea9870
|
get_per_commitment_secret_from_seed (not working yet)
|
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 |
|
Janus
|
22e86d89e5
|
complete bolt11 port to ecdsa instead of secp256k1
|
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 |
|