mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-26 17:24:20 +01:00
Note this only does the node signature; the channeld itself currently holds the bitcoin privkey for the funding tx.
14 lines
356 B
Plaintext
14 lines
356 B
Plaintext
# Give me ECDH(node-id-secret,point)
|
|
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
|