channeld: support HTLCs with blinding (EXPERIMENTAL_FEATURES)
Note that it's channeld which calculates the shared secret, too. This minimizes the work that lightningd has to do, at cost of passing this through. We also don't yet save the blinding field(s) to the database. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -46,6 +46,7 @@ const u8 *send_htlc_out(const tal_t *ctx,
|
||||
struct channel *out,
|
||||
struct amount_msat amount, u32 cltv,
|
||||
const struct sha256 *payment_hash,
|
||||
const struct pubkey *blinding,
|
||||
u64 partid,
|
||||
const u8 *onion_routing_packet,
|
||||
struct htlc_in *in,
|
||||
|
||||
Reference in New Issue
Block a user