mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
basepoints/secrets: add htlc entry
Currently derive_basepoints just sets it to match the payment point/secret. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
88ec8df329
commit
fe5614a489
@@ -7,6 +7,7 @@
|
||||
/* Keys needed to derive a particular commitment tx. */
|
||||
struct keyset {
|
||||
struct pubkey self_revocation_key;
|
||||
struct pubkey self_htlc_key, other_htlc_key;
|
||||
struct pubkey self_delayed_payment_key;
|
||||
struct pubkey self_payment_key, other_payment_key;
|
||||
};
|
||||
@@ -14,6 +15,8 @@ struct keyset {
|
||||
bool derive_keyset(const struct pubkey *per_commitment_point,
|
||||
const struct pubkey *self_payment_basepoint,
|
||||
const struct pubkey *other_payment_basepoint,
|
||||
const struct pubkey *self_htlc_basepoint,
|
||||
const struct pubkey *other_htlc_basepoint,
|
||||
const struct pubkey *self_delayed_basepoint,
|
||||
const struct pubkey *other_revocation_basepoint,
|
||||
struct keyset *keyset);
|
||||
|
||||
Reference in New Issue
Block a user