Gossip Propagation, Anti-spam, and Set Reconciliation [combined summary]



Individual post summaries: Click here to read the original discussion on the lightning-dev mailing list

Published on: 2022-06-30T12:54:12+00:00


Summary:

The Lightning Network is currently facing challenges in the propagation of gossip messages and channel updates. One proposed solution to reduce bandwidth and redundancy is set reconciliation, where each node constructs a sketch representing its own set of gossip that can be merged with another node's sketch to obtain the latest missing gossip.However, it is important to note that different nodes and lightning implementations may have their own rules for accepting and propagating gossip messages. For example, Core-lightning implements rate limiting for incoming channel updates and node announcements. However, an analysis conducted by one researcher found that 18% of publicly broadcasting half-channels violated spam-limiting rules at least once. This was often due to intermittent connections causing flapping.To address this issue, the researcher suggests relaxing the rate limit, which proved effective in resolving most cases. The upcoming release of Core-Lightning will include updated rate-limiting mechanisms to accommodate these findings. Additionally, there is a proposal for establishing a common standard for default rate limits across different implementations, as well as implementing internal checks to limit or warn about propagation issues if rates are exceeded.Furthermore, the researcher aims to develop a set reconciliation gossip type that utilizes a common heuristic to accept or reject gossip messages. This could involve allowing one channel update per block or per block height, among other possibilities. Implementing this development would significantly contribute to improving gossip set reconciliation and enhancing overall node connection and routing reliability.In conclusion, open dialogue and discussions are encouraged regarding various aspects of gossip propagation, including the usage of channel_update and node_announcement messages. Additionally, bandwidth goals for syncing gossip in the future should be considered to further improve the Lightning Network.


Updated on: 2023-08-01T00:17:58.815253+00:00