Janus
|
7b335d9e45
|
lnbase: two payments working, temporarily disable sig check
|
7 years ago |
Janus
|
d98446bbf5
|
lnbase: store remote revocation store, don't store all remote revocation points, verify ctn numbers in reestablish
|
7 years ago |
Janus
|
54ad895a2e
|
lnbase: add RevocationStore test, remove unnecessary lnd helper functions
|
7 years ago |
Janus
|
3b23feec3c
|
lnbase: compact commitment secret storage
|
7 years ago |
Janus
|
b5a3b49b56
|
lnbase: no negative commitment number nonsense
|
7 years ago |
Janus
|
64e8317ad6
|
lnbase: move channel commitment number increment to function
|
7 years ago |
Janus
|
91d6a5af02
|
lnbase: receive repeated payments
|
7 years ago |
Janus
|
fe6075120c
|
tests: don't use default lightning_peers in online test
|
7 years ago |
Janus
|
e5f73120f6
|
lnbase: channel reestablishment working
|
7 years ago |
SomberNight
|
9ce58ddb2e
|
bolt-04: implement processing of onion packets
|
7 years ago |
SomberNight
|
2408792a42
|
minor clean-up of prev. util.xor_bytes
|
7 years ago |
SomberNight
|
5ee8ab4bb5
|
implement bolt-04 onion packet construction
|
7 years ago |
Janus
|
ef477d8a0e
|
lnbase: save channel details in wallet, enable running online test with reestablishment_mode
|
7 years ago |
Janus
|
4783eeba68
|
lnbase: move waiting for funding_locked to new function, make function for signing and sig conversion
|
7 years ago |
Janus
|
1aa02c7fae
|
lnbase: make function for building htlc_tx depending on if it is for_us/we_receive
|
7 years ago |
Janus
|
4f64415f61
|
lnbase: verify their htlc signature
|
7 years ago |
ThomasV
|
4aa040bb3c
|
lnbase: standardize to_bytes calls
|
7 years ago |
Janus
|
55e1c8942e
|
lnbase: fix custom local to_self_delay, use node privkey derived from timestamp in online test
|
7 years ago |
Janus
|
9bc6fe2f07
|
test_lnbase_online: pass password=None to channel_establishment_flow
|
7 years ago |
Janus
|
fabe6f33fb
|
lnbase: avoid copying variables, insert newlines
|
7 years ago |
ThomasV
|
dbf958ca47
|
lnbase: derive keys from wallet keystore
|
7 years ago |
Janus
|
5118c2be93
|
lnbase: avoid local variables, remote useless comments, name basepoints as such
|
7 years ago |
Janus
|
b117bf6b36
|
lnbase: set new field in Transaction instead of returning a tuple in make_commitment
|
7 years ago |
Janus
|
117e1f64cb
|
lnbase: set to_self_delay back to 144, defer cltv_expiry problem
|
7 years ago |
Janus
|
60ed9c91b4
|
lnbase: use correct delay
|
7 years ago |
Janus
|
0004952f72
|
lnbase: avoid code duplication, return htlc outpoint dict in make_commitment
|
7 years ago |
Janus
|
e7957a4ee9
|
lnbase: simplify commitment transaction building with open channel
|
7 years ago |
Janus
|
a277271b1b
|
lnbase: organize channel data
|
7 years ago |
Janus
|
b732a919cb
|
lnbase: allow passing KeypairGenerator to channel_establishment_flow, fix derive_privkey
|
7 years ago |
Janus
|
e7eab898a0
|
lnbase: receiving invoice payment works
|
7 years ago |
Janus
|
99d8a863da
|
lnbase: commitment_signed, revoke_and_ack now accepted without errors
|
7 years ago |
SomberNight
|
6c9060a42b
|
bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness
|
7 years ago |
Janus
|
da2086320a
|
lnbase: fix their new commitment transaction (htlc tx construction still incorrect)
|
7 years ago |
ThomasV
|
e55f471493
|
lnbase: fix bug in message parsing
|
7 years ago |
ThomasV
|
d46eccee45
|
follow up b5eb7dd7683f24f03c80ab8f612658b5f3966eb1
|
7 years ago |
Janus
|
f4b02ff3c5
|
lnbase: attempt at making htlc_signature to send (currently remote fails due to wrong num_htlcs in commitment_signed)
|
7 years ago |
ThomasV
|
87508c9e2a
|
simplification
|
7 years ago |
Janus
|
4de61dce65
|
lnbase: add TODO explaining how to verify htlc_signature given to us
|
7 years ago |
Janus
|
b288050dcf
|
lnbase: verification of new local commitment working
|
7 years ago |
Janus
|
12108a0923
|
lnbase: derive next keys when making updated local commitment transaction
|
7 years ago |
Janus
|
f0f3a47b2f
|
lnbase: try to receive payment, work on commitment tx with htlcs
|
7 years ago |
Janus
|
957972dea5
|
lnbase: handle commitment transaction update (receive funds, not working yet)
|
7 years ago |
Janus
|
9a027cd97c
|
simnet/testnet support in bolt11, set max-htlc-value-in-flight
|
7 years ago |
SomberNight
|
401e4aee42
|
transaction.py: sign_txin. allow override for get_preimage_script.
test_commitment_tx_with_all_five_HTLCs_untrimmed_minimum_feerate now passes
|
7 years ago |
ThomasV
|
96e87d34e0
|
redundant: you subscribed only to 'updated'
|
7 years ago |
ThomasV
|
12443ac0b7
|
lnbase: verify remote signature
|
7 years ago |
SomberNight
|
223a977c1a
|
channel_establishment_flow: use get_per_commitment_secret_from_seed
|
7 years ago |
Janus
|
483c886bd5
|
lnbase: improve htlc_tx generation (only localsig wrong)
|
7 years ago |
SomberNight
|
b0d8c9ff80
|
get_per_commitment_secret_from_seed: small clean-up
|
7 years ago |
Janus
|
161c43a981
|
fix derive_secret
|
7 years ago |