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

Support new on-the-fly funding #630

Closed
wants to merge 7 commits into from
Closed

Support new on-the-fly funding #630

wants to merge 7 commits into from

Commits on Sep 18, 2024

  1. Upgrade to kotlin v2.0.10

    Also upgraded:
    - ktor to 2.3.12
    - kotlinx.serialisation to 1.7.2 (transitive)
    - kotlinx.coroutine to 1.9.0 (transitive)
    - kermit to 2.0.4 (transitive)
    - skie to 0.8.4
    - sqldelight to 2.0.2
    dpad85 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    5210a0e View commit details
    Browse the repository at this point in the history
  2. (android) Migrate to compose compiler gradle plugin

    This is required for kotlin 2+.
    dpad85 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    40e323b View commit details
    Browse the repository at this point in the history
  3. (ios) Test disabling the special memory allocation

    This rule seems to cause a build issue with kotlin 2.0.
    dpad85 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    971ad20 View commit details
    Browse the repository at this point in the history
  4. Fix chain in phoenix-ios and tests

    We are for now using Testnet3.
    dpad85 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    f91f256 View commit details
    Browse the repository at this point in the history
  5. (ios) Remove script copying shared framework to derived data

    This script does not seem necessary anymore, as the framework copying
    is already done (require further investigation).
    dpad85 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    c072ee4 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Update phoenix-shared to new on-the-fly

    - Updated the liquidity policy (see NodeParamsManager). We
    are using a policy that does not target additional liquidity
    and that does not use fee credit yet.
    
    - Removed the code updating the peer's swap feerate (it's now
    provided by the LSP)
    
    - Updated the received-with database object with new types:
    incoming LN payments may contain a funding fee ; payments may
    be received through a fee credit (not enabled for now).
    
    - Updated the liquidity-purchase database objects with new
    purchase & payment-details type. The lease data are now
    legacy and are removed wherever possible.
    
    Note: for the inbound liquidity db objects, we are moving
    away from the type_version pattern for serialisation. Instead
    the json data type is embedded inside the json by the kotlinx
    serialisation library. This makes the code less verbose.
    
    - Added a liquidity purchase wrapper for cloud data.
    
    - Updated the Notification types with new rejection options.
    We try to match in this update the serialisation pattern that
    was mentioned above.
    dpad85 committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    4a84362 View commit details
    Browse the repository at this point in the history
  2. (android) Update the payment screens for liquidity purchases

    With the new on-the-fly mechanism, the automated liquidity
    operation necesssary to receive some payments are stored as
    specific payments. That is, the incoming payments related
    to this operation do not have a fee, instead there's a
    payment row in the payments history specific to the liquidity
    purchase. The operation also has its own payment details page
    just like the (already existing) manual liquidity purchase.
    
    The splash screen file has been split into several files, one
    for each payment types. This makes the code more flexible.
    
    The liquidity policy objects set in the channels management
    screen have been updated to match the NodeParamsManager value.
    
    This commit is a WIP, especially for wording and localisation.
    dpad85 committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    8111e81 View commit details
    Browse the repository at this point in the history