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 |
|
ThomasV
|
1aac0835d4
|
add processing flow for funding_locked
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
0c5a65285c
|
lnbase: fix parameters to make_commitment in htlc test
|
2018-06-26 19:30:08 +02:00 |
|
SomberNight
|
58c5cd3e0d
|
transaction.py: shortcut witness/scriptSig serialisation
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
22eeda2b84
|
lnbase: add some comments
|
2018-06-26 19:30:08 +02:00 |
|
SomberNight
|
2f684d99b1
|
constants.py: Simnet inherits from Testnet
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
0e9f18adfc
|
use same servers for simnet as for regtest
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
3cdf10c7bf
|
lightning-hub: update rpc stubs, do not ignore them in gitignore
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
0b8add104b
|
lnbase: fix initial commitment transaction
|
2018-06-26 19:30:08 +02:00 |
|
SomberNight
|
2d3387b24e
|
refactor storage of channels, path finding
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
9c38e42a7d
|
avoid duplicating bech32 module
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
355b526db9
|
lnbase: more work on make_htlc_tx
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
0da15f6dff
|
lnbase: make_htlc_tx
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
bd90f8b77e
|
fix: use remote_per_commitment_point
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
f5d9f79e65
|
lnbase: derive blinded pubkey
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
c0b624e73a
|
lnbase: fix variable name
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
7471c60f2f
|
lnbase: add privkey derivation
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
5d2be9edab
|
add test for key derivation
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
06e52b0b63
|
lnbase: key derivation (WIP)
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
14ee54fb51
|
lnbase: test signing of first htlc test case
|
2018-06-26 19:30:08 +02:00 |
|
Janus
|
87c0ff4654
|
lnbase: make_received_htlc
|
2018-06-26 19:30:08 +02:00 |
|
ThomasV
|
65c0ee5f4b
|
fix hash in make_offered_htlc
|
2018-06-26 19:30:07 +02:00 |
|
ThomasV
|
1082232136
|
cleanup lnbase tests
|
2018-06-26 19:30:07 +02:00 |
|
Janus
|
baacbe456a
|
lightning-hub: remove path hack, use relative imports
|
2018-06-26 19:30:07 +02:00 |
|
SomberNight
|
620e8d60aa
|
naive route finding
|
2018-06-26 19:30:07 +02:00 |
|
Janus
|
6f63672550
|
lnbase: offered htlc script construction
|
2018-06-26 19:30:07 +02:00 |
|
ThomasV
|
d94115ab80
|
use acceptable variable names
|
2018-06-26 19:30:07 +02:00 |
|
ThomasV
|
d34c902776
|
lightning: separate testing from main code
|
2018-06-26 19:30:07 +02:00 |
|
ThomasV
|
945877a5e1
|
lightning: store network view
|
2018-06-26 19:30:07 +02:00 |
|
ThomasV
|
354f75592e
|
lnbase: parse ipv6, fix transport bug
|
2018-06-26 19:30:07 +02:00 |
|
ThomasV
|
bf4adbde88
|
lnbase: fix read_message, reduce verbosity
|
2018-06-26 19:30:07 +02:00 |
|