Skip to content

Replace Channel::get_holder_max_htlc_value_in_flight_msat with configuration options #850

Closed
@TheBlueMatt

Description

@TheBlueMatt

We should have configuration options which allow controlling the output of Channel::get_holder_max_htlc_value_in_flight_msat in ChannelHandshakeConfig. I think the way to do this is to provide some kind of "min htlc_max_in_flight as a percentage of channel value" and "min htlc_max_in_filght absolute value" knobs and then calculate it in Channel::get_holder_max_htlc_value_in_flight_msat instead of hard-coding it, but I'm open to ideas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions