From b41c8e240a6c131ead138d08ddd59e831cd86981 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Mon, 3 Apr 2017 10:14:30 +0930 Subject: [PATCH] hsm: Added channel announcement sig request and reply Note this only does the node signature; the channeld itself currently holds the bitcoin privkey for the funding tx. --- lightningd/hsm/hsm_client_wire_csv | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lightningd/hsm/hsm_client_wire_csv b/lightningd/hsm/hsm_client_wire_csv index 693e2991d..9f1d13a22 100644 --- a/lightningd/hsm/hsm_client_wire_csv +++ b/lightningd/hsm/hsm_client_wire_csv @@ -3,3 +3,11 @@ hsm_ecdh_req,1 hsm_ecdh_req,0,point,33 hsm_ecdh_resp,100 hsm_ecdh_resp,0,ss,32 + +hsm_cannouncement_sig_req,2 +hsm_cannouncement_sig_req,0,bitcoin_id,struct pubkey +hsm_cannouncement_sig_req,33,calen,u16 +hsm_cannouncement_sig_req,35,ca,calen + +hsm_cannouncement_sig_reply,102 +hsm_cannouncement_sig_reply,0,node_signature,64