mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
status: new message for subdaemons to tell us their versions.
For this patch we simply abort if it's wrong. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
7
common/status_wiregen.h
generated
7
common/status_wiregen.h
generated
@@ -17,6 +17,7 @@ enum status_wire {
|
||||
WIRE_STATUS_FAIL = 0xFFF2,
|
||||
WIRE_STATUS_PEER_CONNECTION_LOST = 0xFFF3,
|
||||
WIRE_STATUS_PEER_BILLBOARD = 0xFFF5,
|
||||
WIRE_STATUS_VERSION = 0xFFF6,
|
||||
};
|
||||
|
||||
const char *status_wire_name(int e);
|
||||
@@ -51,6 +52,10 @@ bool fromwire_status_peer_connection_lost(const void *p);
|
||||
u8 *towire_status_peer_billboard(const tal_t *ctx, bool perm, const wirestring *happenings);
|
||||
bool fromwire_status_peer_billboard(const tal_t *ctx, const void *p, bool *perm, wirestring **happenings);
|
||||
|
||||
/* WIRE: STATUS_VERSION */
|
||||
u8 *towire_status_version(const tal_t *ctx, const wirestring *version);
|
||||
bool fromwire_status_version(const tal_t *ctx, const void *p, wirestring **version);
|
||||
|
||||
|
||||
#endif /* LIGHTNING_COMMON_STATUS_WIREGEN_H */
|
||||
// SHA256STAMP:67770c6a9a4205f10a455ea925afc2be4f853642b1e7ed70e3867221c64b7abc
|
||||
// SHA256STAMP:8e1ba9cbc812c8aad76c5049fcecefea2d706a100423c93d3c3be0afcbee851e
|
||||
|
||||
Reference in New Issue
Block a user