Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ChannelConfig / MaxDustHTLCExposure #350

Merged
merged 1 commit into from
Aug 28, 2024

Commits on Aug 28, 2024

  1. Refactor ChannelConfig / MaxDustHTLCExposure

    Previously, we chose to expose `ChannelConfig` as a Uniffi `interface`,
    providing accessor methods. Unfortunately this forced us to `Arc` it
    everywhere in the API, and also didn't allow to retrieve the currently
    set dust exposure limits. Here, we refactor our version of
    `ChannelConfig` to be a normal `struct` (Uniffi `dictionary`), and only
    expose the `MaxDustHTLCExposure` as an enum-`interface`.
    tnull committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    09d68ee View commit details
    Browse the repository at this point in the history