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

liquid: ct discount #304

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

liquid: ct discount #304

wants to merge 4 commits into from

Commits on Dec 2, 2024

  1. liquid: drop the flat fee for mempool policy patch

    elements releases have the mempool policy patch.
    To apply ct discount on peerswap, we uses An
    "Ask forgiveness not permission" approach,
    where we attempt to broadcast with the discounted fee,
    and if that fails, we retry with the non-discounted fee.
    
    The discount is achieved by calculating the fee
    based on a discounted vsize
    (equivalent to 1/4 of the original tx size).
    YusukeShimizu committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    bf8fdf3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc3dba1 View commit details
    Browse the repository at this point in the history
  3. liquid: assume everyone else supports CT discount

    Assume support for all peerswap CT discounts with protocol version up.
    Remove the previous Ask forgiveness not permission approach,
    and return an error if CT discount is not supported.
    YusukeShimizu committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    8922d40 View commit details
    Browse the repository at this point in the history
  4. multi: Add tests for CT discount with latest lwk

    Update the supported CLI version to 0.8.0.
    
    This change ensures that lwkwallet is compatible with
    the latest version of the command-line interface.
    
    Adds tests to ensure that the CT discount
    mechanism functions correctly with the latest version
    of lwk.
    YusukeShimizu committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    f3c339c View commit details
    Browse the repository at this point in the history