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

Add the planning module (updated PR) #592

Merged
merged 6 commits into from
Sep 22, 2023

Commits on Sep 18, 2023

  1. Add relative and absolute timelock in Satisfaction

    The Satisfaction struct now contains `relative_timelock` and
    `absolute_timelock`, which represent the needed timelocks for
    that particular spending path.
    This is useful for the plan module.
    
    Co-authored-by: Daniela Brozzoni <danielabrozzoni@protonmail.com>
    afilini and danielabrozzoni committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    7ca9ba1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    448fbd8 View commit details
    Browse the repository at this point in the history
  3. Fix test_cpp

    sanket1729 authored and danielabrozzoni committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    fc20eb0 View commit details
    Browse the repository at this point in the history
  4. Add plan capabilities to miniscript

    Add a `plan` module that contains utilities to calculate the
    cheapest spending path given an AssetProvider (that could
    keys, preimages, or timelocks). Adds a `get_plan` method on the
    various descriptor types.
    
    Co-authored-by: Daniela Brozzoni <danielabrozzoni@protonmail.com>
    afilini and danielabrozzoni committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    d29c298 View commit details
    Browse the repository at this point in the history
  5. tests: plan capabilities

    Co-authored-by: Alekos Filini <alekos.filini@gmail.com>
    danielabrozzoni and afilini committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    cb9a769 View commit details
    Browse the repository at this point in the history
  6. test: absolute/relative timelocks in satisfaction

    Co-authored-by: Alekos Filini <alekos.filini@gmail.com>
    danielabrozzoni and afilini committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    a358076 View commit details
    Browse the repository at this point in the history