Skip to content

option_dusty_htlcs_uncounted (Feature 32/33) #873

@Crypt-iQ

Description

@Crypt-iQ

Quoting from mail conversation:

I think a new proposal which changes this would be possible, with a
feature bit:

  - if `option_dusty_htlcs_uncounted`:
    - we define "counted HTLC offers" as the total number of HTLCs
      committed on the remote peer which have `amount_msat` greater
      or equal to the remote `dust_limit_satoshis`
  - otherwise:
    - we define "counted HTLC offers" as the total number of HTLCs
      committed on the remote peer

  - if "counted HTLC offers" from this HTLC would exceed `max_accepted_htlcs`:
    - MUST NOT add an HTLC.

Similar language on the receiver side.

Since we all have interpreted the spec in the same way (counting all htlc's), we'll need feature bits to upgrade. Thoughts?

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