Skip to content

#4227 Followups #4280

Closed
Closed

Description

@TheBlueMatt

#4227 landed and I believe double-forwards HTLCs but also is a major regression in ChannelManager size. Filing this to block release, see #4227 (review)

Activity

  1. added this to the 0.3 milestone on Dec 11, 2025
  2. TheBlueMatt commented on Jan 14, 2026

    @TheBlueMatt
    CollaboratorAuthor

    Oh, one more issue I think - the dedup code (also after #4289) doesn't consider things in the holding cells. ChannelMonitors are really only authoritative on the HTLC state if the channel is closed, not before. So because we're looking at the monitors we may double-forward still, I believe. Instead, we really need to dedup on the Channel itself. Now, maybe when we are persisting the Channel in the monitors (and are not writing the holding cell, which I think makes sense) just looking at the monitors will be right, but today it is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions