Skip to content

Add plan module#1

Open
danielabrozzoni wants to merge 4 commits into
masterfrom
final_plan
Open

Add plan module#1
danielabrozzoni wants to merge 4 commits into
masterfrom
final_plan

Conversation

@danielabrozzoni
Copy link
Copy Markdown
Owner

No description provided.

afilini and others added 4 commits October 25, 2022 12:29
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>
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>
Co-authored-by: Alekos Filini <alekos.filini@gmail.com>
Co-authored-by: Alekos Filini <alekos.filini@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants