mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
The format we use to generate marshal/unmarshal code is from the spec's tools/extract-formats.py which includes the offset: we don't use it at all, so rather than having manually-calculated (and thus probably wrong) values, or 0, emit it altogther. Reported-by: Christian Decker Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
22 lines
546 B
Plaintext
22 lines
546 B
Plaintext
# Give me ECDH(node-id-secret,point)
|
|
hsm_ecdh_req,1
|
|
hsm_ecdh_req,,point,struct pubkey
|
|
hsm_ecdh_resp,100
|
|
hsm_ecdh_resp,,ss,struct secret
|
|
|
|
hsm_cannouncement_sig_req,2
|
|
hsm_cannouncement_sig_req,,bitcoin_id,struct pubkey
|
|
hsm_cannouncement_sig_req,,calen,u16
|
|
hsm_cannouncement_sig_req,,ca,calen
|
|
|
|
hsm_cannouncement_sig_reply,102
|
|
hsm_cannouncement_sig_reply,,node_signature,64
|
|
|
|
hsm_cupdate_sig_req,3
|
|
hsm_cupdate_sig_req,,culen,u16
|
|
hsm_cupdate_sig_req,,cu,culen
|
|
|
|
hsm_cupdate_sig_reply,103
|
|
hsm_cupdate_sig_reply,,culen,u16
|
|
hsm_cupdate_sig_reply,,cu,culen
|