Skip to content

Future CLN API deprecations can negatively affect PeerSwap #232

@grubles

Description

@grubles

This describes a broader issue with how PeerSwap handles changes to the CLN API. CLN defaults to keeping the deprecated fields turned on for a period of time before they are fully removed in order to minimize disruptions / breakage. However, some users may turn off these fields by setting allow-deprecated-apis=false in their CLN configs. This may cause PeerSwap to break

Currently the plan is to try and detect if deprecated API fields are turned off by reading the CLN config (#230) and exiting the plugin completely to be safe, but this is only a temporary solution until we can handle API changes better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions