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

Migrate from Policy to pluggable script generator #30

Open
JeremyRubin opened this issue Jul 31, 2020 · 3 comments
Open

Migrate from Policy to pluggable script generator #30

JeremyRubin opened this issue Jul 31, 2020 · 3 comments
Labels
enhancement New feature or request low priority

Comments

@JeremyRubin
Copy link
Collaborator

Using policy is convenient as it figures out automatically how to make a proper miniscript type.

However, Policy is not intended to be a 1:1 mapping, so really we should operate at the miniscript level if we want determinism, or make a deterministic policy version.

@JeremyRubin
Copy link
Collaborator Author

Update:

Determinism should be working with the current wasm environment + miniscript fork, but it's not closely checked so still early to rely on it.

@ProofOfKeags
Copy link
Collaborator

Given #253 Is this something we are wanting to do still? seems like they are in conflict.

@JeremyRubin
Copy link
Collaborator Author

Yeah, they are in conflict, but we do want both, but this should be considered low priority.

I think ultimately, we'd want some sort of trait that can handle policy, miniscript, or custom script fragments, etc, or a version of miniscript which supports extension

@ProofOfKeags ProofOfKeags changed the title Migrate from Policy -> Miniscript Migrate from Policy to pluggable script generator Nov 2, 2022
@ProofOfKeags ProofOfKeags added enhancement New feature or request low priority labels Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

2 participants