mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
Ideally we'd rename status_failed() to status_fatal(), but that's too much churn for now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
728 B
728 B
| 1 | #include <common/status_wire.h> |
|---|---|
| 2 | status_log,0xFFF0 |
| 3 | status_log,,level,enum log_level |
| 4 | status_log,,entry,wirestring |
| 5 | status_io,0xFFF1 |
| 6 | status_io,,iodir,enum log_level |
| 7 | status_io,,len,u16 |
| 8 | status_io,,data,len*u8 |
| 9 | status_fail,0xFFF2 |
| 10 | status_fail,,failreason,enum status_failreason |
| 11 | status_fail,,desc,wirestring |
| 12 | status_peer_connection_lost,0xFFF3 |
| 13 | # They sent us this error. |
| 14 | status_received_errmsg,0xFFF4 |
| 15 | status_received_errmsg,,channel,struct channel_id |
| 16 | status_received_errmsg,,desc,wirestring |
| 17 | # We sent them this error. |
| 18 | status_sent_errmsg,0xFFF5 |
| 19 | status_sent_errmsg,,channel,struct channel_id |
| 20 | status_sent_errmsg,,desc,wirestring |
| 21 | status_sent_errmsg,,len,u16 |
| 22 | status_sent_errmsg,,errmsg,len*u8 |
| 23 | # Note: 0xFFFF is reserved for MSG_PASS_FD! |