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 |
SomberNight
|
8852acf4c3
|
get_per_commitment_secret_from_seed (not working yet)
|
7 years ago |
Janus
|
fa88c484d2
|
lnbase: avoid race while waiting for funding_locked, wait for un-reversed hash
|
7 years ago |
Janus
|
cc6320e345
|
complete bolt11 port to ecdsa instead of secp256k1
|
7 years ago |
SomberNight
|
94b3233ee7
|
channel_establishment_flow: wait for confirmations of funding txn
|
7 years ago |
ThomasV
|
f47871fe60
|
add processing flow for funding_locked
|
7 years ago |
ThomasV
|
8c51237d01
|
lnbase: fix parameters to make_commitment in htlc test
|
7 years ago |
SomberNight
|
4bc02530c0
|
transaction.py: shortcut witness/scriptSig serialisation
|
7 years ago |
Janus
|
61d9d88bd6
|
lightning channels list: add mock server for testing
|
7 years ago |
Janus
|
851cb8d0dd
|
lnbase: add some comments
|
7 years ago |
SomberNight
|
b71eabfabf
|
constants.py: Simnet inherits from Testnet
|
7 years ago |
Janus
|
1f69a36fcf
|
use same servers for simnet as for regtest
|
7 years ago |
Janus
|
fb7d29cc3e
|
lightning-hub: update rpc stubs, do not ignore them in gitignore
|
7 years ago |
ThomasV
|
d7827f0dae
|
lnbase: fix initial commitment transaction
|
7 years ago |
SomberNight
|
a2e6e0930d
|
refactor storage of channels, path finding
|
7 years ago |
Janus
|
331d22f23a
|
avoid duplicating bech32 module
|
7 years ago |
Janus
|
b8b2d0b801
|
lnbase: more work on make_htlc_tx
|
7 years ago |
Janus
|
2aa2e9e71a
|
lnbase: make_htlc_tx
|
7 years ago |
ThomasV
|
1be22ac593
|
fix: use remote_per_commitment_point
|
7 years ago |
ThomasV
|
3b8aadf0e5
|
lnbase: derive blinded pubkey
|
7 years ago |
ThomasV
|
df95f14197
|
lnbase: fix variable name
|
7 years ago |