Skip to content

Remove counter_payout from RenewOffer #149

@luckysori

Description

@luckysori

The counterparty payout for the Contract that is being replaced by the renew protocol can be computed by calculating the difference between the collateral of the to-be-replaced Contract and the ContractInput in the RenewOffer. This value can then be used to compute the implicit PNL of the replaced Contract.

As such we don't need/want to keep around the extra counter_payout argument and field throughout the renew protocol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    channelRelated to DLC channels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions