mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-03 05:04:21 +01:00
wire-gen: move in-house wire delcarations to new format
tidying things up!
This commit is contained in:
committed by
Rusty Russell
parent
236d26308f
commit
32eaae0cb9
@@ -1,23 +1,23 @@
|
||||
#include <common/per_peer_state.h>
|
||||
#include <common/status_wire.h>
|
||||
|
||||
status_log,0xFFF0
|
||||
status_log,,level,enum log_level
|
||||
status_log,,entry,wirestring
|
||||
msgtype,status_log,0xFFF0
|
||||
msgdata,status_log,level,e:log_level,
|
||||
msgdata,status_log,entry,wirestring,
|
||||
|
||||
status_io,0xFFF1
|
||||
status_io,,iodir,enum log_level
|
||||
status_io,,who,wirestring
|
||||
status_io,,len,u16
|
||||
status_io,,data,len*u8
|
||||
msgtype,status_io,0xFFF1
|
||||
msgdata,status_io,iodir,e:log_level,
|
||||
msgdata,status_io,who,wirestring,
|
||||
msgdata,status_io,len,u16,
|
||||
msgdata,status_io,data,u8,len
|
||||
|
||||
status_fail,0xFFF2
|
||||
status_fail,,failreason,enum status_failreason
|
||||
status_fail,,desc,wirestring
|
||||
msgtype,status_fail,0xFFF2
|
||||
msgdata,status_fail,failreason,e:status_failreason,
|
||||
msgdata,status_fail,desc,wirestring,
|
||||
|
||||
status_peer_connection_lost,0xFFF3
|
||||
msgtype,status_peer_connection_lost,0xFFF3
|
||||
|
||||
status_peer_billboard,0xFFF5
|
||||
status_peer_billboard,,perm,bool
|
||||
status_peer_billboard,,happenings,wirestring
|
||||
msgtype,status_peer_billboard,0xFFF5
|
||||
msgdata,status_peer_billboard,perm,bool,
|
||||
msgdata,status_peer_billboard,happenings,wirestring,
|
||||
# Note: 0xFFFF is reserved for MSG_PASS_FD!
|
||||
|
||||
|
Reference in New Issue
Block a user