Skip to content

Encodings in gossip_queries #811

@bmancini55

Description

@bmancini55

Currently the spec requires an implementation to support both raw and zlib deflate encodings for short_channel_ids in reply_channel_range and query_short_channel_ids messages.

There is discrepancy of the default encoding used when replying to a query with reply_channel_range message. It would be nice to have clarification surrounding when zlib deflate or raw encodings should be sent in reply to a query.

A bigger request is that rust-lightning would like to not add a zlib dependency to the project. There is currently no way to signal support or lack thereof for zlib. It would be nice if a node could signal this support in Init. There is likely overlap with #804 depending on how reply sequencing is structured, so I wanted to raise this issue for discussions while that is being discussed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions