Skip to content

Holder HTLC transactions' fee-bumping timers should be scheduled on their CLTV timelocks #982

Closed

Description

@ariard

Currently in get_broadcasted_holder_claims we pass confirmation height of the commitment transaction (at least after #970) which have the disadvantage of artificially increase the fee-bumping frequency of such transaction at the CLTV absolute height might be still far ahead in the future. Instead we should pass htlc.cltv_expiry to PackageTemplate::build_output.

Need a test.

Activity

  1. TheBlueMatt commented on Jul 1, 2021

    @TheBlueMatt
    Collaborator

    I went ahead and updated #970 to pass the htlc.cltv_expiry value instead cause I agree its "more" correct, but we do need a test around this stuff.

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

Metadata

Metadata

Assignees

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