Skip to content

Revise Simplicity descriptors #108

Description

@KyrylR

After recent years of updates to rust-simplicity and SimplicityHL, imo, it is not feasible to get Simplicity descriptors with policies back to life from the get-go, so instead we can take an iterative approach

First pack of changes that I would propose:

  • Replace Simplicity policy leaves with sim{asm(CMR)} and do not accept sim{POLICY} syntax anymore (for the time being)
  • Add descriptor::SimplicityLeaf<Pk> (Pk here is for future iteration for programs like P2PK, multisigs (?))
  • Re-export the simplicity-lang crate
  • Sanity check and lifting for Simplicity will fail with the error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions