mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-06 05:49:30 +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>
550 B
550 B
1 | #include <common/per_peer_state.h> |
---|---|
2 | #include <common/status_wire.h> |
3 | status_log,0xFFF0 |
4 | status_log,,level,enum log_level |
5 | status_log,,entry,wirestring |
6 | status_io,0xFFF1 |
7 | status_io,,iodir,enum log_level |
8 | status_io,,who,wirestring |
9 | status_io,,len,u16 |
10 | status_io,,data,len*u8 |
11 | status_fail,0xFFF2 |
12 | status_fail,,failreason,enum status_failreason |
13 | status_fail,,desc,wirestring |
14 | status_peer_connection_lost,0xFFF3 |
15 | status_peer_billboard,0xFFF5 |
16 | status_peer_billboard,,perm,bool |
17 | status_peer_billboard,,happenings,wirestring |
18 | # Note: 0xFFFF is reserved for MSG_PASS_FD! |