mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-07 14:29:33 +01:00
38d2899fbb
Encapsulating the peer state was a win for lightningd; not surprisingly, it's even more of a win for the other daemons, especially as we want to add a little gossip information. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
24 lines
550 B
Plaintext
24 lines
550 B
Plaintext
#include <common/per_peer_state.h>
|
|
#include <common/status_wire.h>
|
|
|
|
status_log,0xFFF0
|
|
status_log,,level,enum log_level
|
|
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
|
|
|
|
status_fail,0xFFF2
|
|
status_fail,,failreason,enum status_failreason
|
|
status_fail,,desc,wirestring
|
|
|
|
status_peer_connection_lost,0xFFF3
|
|
|
|
status_peer_billboard,0xFFF5
|
|
status_peer_billboard,,perm,bool
|
|
status_peer_billboard,,happenings,wirestring
|
|
# Note: 0xFFFF is reserved for MSG_PASS_FD!
|