Skip to content

Expose the amount held on our end of the channel #4241

Description

@andrei-21

To properly display the amount the user received, I need to know the amount held on our end of the channel, even if it is not enforceable on-chain or not spendable on Lightning.

ChannelDetails::outbound_capacity_msat is not enough because it takes the channel reserve into account. But adding the reserve back does not work for balances below the reserve.

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