Skip to content

Check for outbound feerate update affordability before sending #1041

Closed

Description

@TheBlueMatt

Turns out we will try to send feerate updates that we cannot at all afford right now. Val caught it in review at #985 (comment) and it seems the chanmon_consistency fuzzer has also found it (or something related).

Activity

  1. added this to the 0.0.101 milestone on Aug 12, 2021
  2. ariard commented on Aug 16, 2021

    @ariard

    I think you should replicate d3af49e to limit outbound fee updates, even if we assume our fee estimator is always more "reasonable" than the counterparty one.

  3. TheBlueMatt commented on Aug 16, 2021

    @TheBlueMatt
    CollaboratorAuthor

    We could do that (I think a simpler approach would be to limit upwards fee increase to eg 25% per $TIME_PERIOD), but independently, we don't limit it at all and can overrun our own reserve value!

  4. ariard commented on Aug 16, 2021

    @ariard

    I think a simpler approach would be to limit upwards fee increase to eg 25% per $TIME_PERIOD

    Right, though such solution would let max_dust_htlc_exposure bypass when real-world fees overflow 25% per $TIME_PERIOD, especially that $TIME_PERIOD isn't fixed for HTLC's CLTV

  5. modified the milestones: 0.0.101, 0.0.102 on Sep 15, 2021
  6. modified the milestones: 0.0.102, 0.0.103 on Oct 15, 2021
  7. modified the milestones: 0.0.103, 0.1 on Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions