Skip to content

lightning-liquidity::lsps2::event::LSPS2ServiceEvent::OpenChannel is incredibly unclear #4075

@TheBlueMatt

Description

@TheBlueMatt
  • What is amt_to_forward_msat, is that what I should use as push_msat (its not, but it really reads like it, in fact its not something the user has to deal with at all!)?
  • The name opening_fee_msat sounds like what I should use for the tx fee, but should really be opening_fee_earned_msat
  • Why is LSPS2 involved in user_channel_id at all? It should have no problem tracking everything by intercept_scid. We shouldn't even be relying on user_channel_id being globally unique cause it isn't required to be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions