Commit graph

19 commits

Author SHA1 Message Date
Janus
f278833c40 lnbase: more work on make_htlc_tx 2019-08-20 09:03:09 +02:00
Janus
d7244f6708 lnbase: make_htlc_tx 2019-08-20 09:03:09 +02:00
ThomasV
ab7a854f9a fix: use remote_per_commitment_point 2019-08-20 09:03:09 +02:00
ThomasV
8f00bdb0b0 lnbase: derive blinded pubkey 2019-08-20 09:03:09 +02:00
ThomasV
6c4c2267f8 lnbase: add privkey derivation 2019-08-20 09:03:09 +02:00
ThomasV
6d703db971 add test for key derivation 2019-08-20 09:03:09 +02:00
Janus
4b8f279d50 lnbase: test signing of first htlc test case 2019-08-20 09:03:09 +02:00
Janus
fa86dda983 lnbase: make_received_htlc 2019-08-20 09:03:09 +02:00
ThomasV
2c717194b2 cleanup lnbase tests 2019-08-20 09:03:09 +02:00
SomberNight
f8f365f1ea naive route finding 2019-08-20 09:03:09 +02:00
Janus
a23aac76d3 lnbase: offered htlc script construction 2019-08-20 09:03:09 +02:00
ThomasV
969708316c lnbase: verify signature in node_announcement 2019-08-20 09:03:09 +02:00
ThomasV
57b63cf490 lnbase: fix test 2019-08-20 09:03:09 +02:00
SomberNight
aaa67adb5a fixes for make_commitment, but still incorrect destination address (csv arg?) 2019-08-20 09:03:09 +02:00
ThomasV
eca8d13e37 lnbase: fix tx amounts 2019-08-20 09:03:09 +02:00
Janus
3fb6951d10 lnbase_test: add first commitment tx with 5 htlcs test 2019-08-20 09:03:09 +02:00
ThomasV
316f9a3954 lnbase: fix locktime and nsequence 2019-08-20 09:03:09 +02:00
Janus
814146f099 lnbase_test: insert remote_signature and compare fields independently 2019-08-20 09:03:09 +02:00
ThomasV
7b6f64a402 lnbase: create unit test for commitment tx 2019-08-20 09:03:09 +02:00