mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-12 09:34:25 +01:00
is_all_channels: rename to channel_id_is_all
Suggested-by: Christian Decker Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
1954844fbf
commit
74e684cc0d
@@ -32,10 +32,16 @@ u8 *towire_errorfmtv(const tal_t *ctx,
|
||||
const char *fmt,
|
||||
va_list ap);
|
||||
|
||||
/**
|
||||
* is_all_channels - True if channel_id is all zeroes.
|
||||
/* BOLT #1:
|
||||
*
|
||||
* A node receiving `error` MUST fail the channel referred to by the message,
|
||||
* or if `channel_id` is zero, it MUST fail all channels and MUST close the
|
||||
* connection.
|
||||
*/
|
||||
bool is_all_channels(const struct channel_id *channel_id);
|
||||
/**
|
||||
* channel_id_is_all - True if channel_id is all zeroes.
|
||||
*/
|
||||
bool channel_id_is_all(const struct channel_id *channel_id);
|
||||
|
||||
/**
|
||||
* sanitize_error - extract and sanitize contents of WIRE_ERROR.
|
||||
|
||||
Reference in New Issue
Block a user