mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-25 18:14:19 +01:00
We use the fourth value (size) to determine the type, unless the fifth value is suppled. That's silly: allow the fourth value to be a typename, since that's the only reason we care about the size at all! Unfortunately there are places in the spec where we use a raw fieldname without '*1' for a length, so we have to distingish this from the typename case. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
48 lines
1.2 KiB
CSV
48 lines
1.2 KiB
CSV
#include <lightningd/cryptomsg.h>
|
|
handshake_bad_command,0x8000
|
|
initr_act1_bad_ecdh_for_ss,0x8011
|
|
initr_act1_write_failed,0x8012
|
|
initr_act2_read_failed,0x8013
|
|
initr_act2_bad_version,0x8014
|
|
initr_act2_bad_pubkey,0x8015
|
|
initr_act2_bad_ecdh_for_ss,0x8016
|
|
initr_act2_bad_tag,0x8017
|
|
initr_act3_bad_hsm_ecdh,0x8018
|
|
initr_act3_write_failed,0x8019
|
|
respr_act1_read_failed,0x801A
|
|
respr_act1_bad_version,0x801B
|
|
respr_act1_bad_pubkey,0x801C
|
|
respr_act1_bad_hsm_ecdh,0x801D
|
|
respr_act1_bad_tag,0x801E
|
|
respr_act2_bad_ecdh_for_ss,0x801F
|
|
respr_act2_write_failed,0x8020
|
|
respr_act3_read_failed,0x8021
|
|
respr_act3_bad_version,0x8022
|
|
respr_act3_bad_ciphertext,0x8023
|
|
respr_act3_bad_pubkey,0x8024
|
|
respr_act3_bad_ecdh_for_ss,0x8025
|
|
respr_act3_bad_tag,0x8026
|
|
|
|
# FIXME: This is probably too finegrained.
|
|
initr_act_one,1001
|
|
initr_act_two,1002
|
|
initr_act_three,1003
|
|
respr_act_one,1011
|
|
respr_act_two,1012
|
|
respr_act_three,1013
|
|
success,0
|
|
|
|
handshake_responder,1
|
|
handshake_responder,1,my_id,33
|
|
handshake_responder_reply,101
|
|
handshake_responder_reply,0,initiator_id,33
|
|
handshake_responder_reply,33,cs,struct crypto_state
|
|
|
|
handshake_initiator,2
|
|
handshake_initiator,0,my_id,33
|
|
handshake_initiator,33,responder_id,33
|
|
|
|
handshake_initiator_reply,102
|
|
handshake_initiator_reply,0,cs,struct crypto_state
|
|
|