mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 06:54:30 +01:00
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:
@@ -8,7 +8,7 @@ index 5a2a8c23f..7b26242e3 100644
|
||||
msgdata,update_add_htlc,onion_routing_packet,byte,1366
|
||||
+msgdata,update_add_htlc,tlvs,update_add_tlvs,
|
||||
+tlvtype,update_add_tlvs,blinding,2
|
||||
+tlvdata,update_add_tlvs,blinding,ecdh,byte,32
|
||||
+tlvdata,update_add_tlvs,blinding,blinding,point,
|
||||
msgtype,update_fulfill_htlc,130
|
||||
msgdata,update_fulfill_htlc,channel_id,channel_id,
|
||||
msgdata,update_fulfill_htlc,id,u64,
|
||||
|
||||
Reference in New Issue
Block a user