Makefile: update to BOLTs without zlib.

This contains a typo fix and a clarification on channel_type, but also
removes ZLIB.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-05-18 10:28:58 +09:30
parent a4c365f8d0
commit bf040c398b
9 changed files with 15 additions and 17 deletions

View File

@@ -11,11 +11,11 @@ struct tlv_reply_channel_range_tlvs_timestamps_tlv;
*
* Encoding types:
* * `0`: uncompressed array of `short_channel_id` types, in ascending order.
* * `1`: array of `short_channel_id` types, in ascending order, compressed with zlib deflate<sup>[1](#reference-1)</sup>
* * `1`: Previously used for zlib compression, this encoding MUST NOT be used.
*/
enum arr_encode_types {
ARR_UNCOMPRESSED = 0,
ARR_ZLIB = 1
ARR_ZLIB_DEPRECATED = 1
};
struct short_channel_id *decode_short_ids(const tal_t *ctx, const u8 *encoded);