core-lightning/handshaked/handshake_wire.csv
Rusty Russell ef28b6112c status: use common status codes for all the failures.
This change is really to allow us to have a --dev-fail-on-subdaemon-fail option
so we can handle failures from subdaemons generically.

It also neatens handling so we can have an explicit callback for "peer
did something wrong" (which matters if we want to close the channel in
that case).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-12 23:00:53 +02:00

879 B

1#include <common/cryptomsg.h>
2# FIXME: This is probably too finegrained.
3initr_act_one,1001
4initr_act_two,1002
5initr_act_three,1003
6respr_act_one,1011
7respr_act_two,1012
8respr_act_three,1013
9success,0
10handshake_responder,1
11handshake_responder,,my_id,33
12handshake_responder_reply,101
13handshake_responder_reply,,initiator_id,33
14handshake_responder_reply,,cs,struct crypto_state
15handshake_responder_reply,,gflen,2
16handshake_responder_reply,,globalfeatures,gflen
17handshake_responder_reply,,lflen,2
18handshake_responder_reply,,localfeatures,lflen
19handshake_initiator,2
20handshake_initiator,,my_id,33
21handshake_initiator,,responder_id,33
22handshake_initiator_reply,102
23handshake_initiator_reply,,cs,struct crypto_state
24handshake_initiator_reply,,gflen,2
25handshake_initiator_reply,,globalfeatures,gflen
26handshake_initiator_reply,,lflen,2
27handshake_initiator_reply,,localfeatures,lflen