Skip to content

v0 is dead long live v0 #68

@tcharding

Description

@tcharding

The v0 module was created so that downstream users of rust-bitcoin and rust-miniscript could have the same API by using this crate. Furthermore I imported the files frorm bitcoin and miniscript with minimal changes so devs could diff them and see what was different. This was all released as v0.2.

Over here we have reached consensus to rip out PSBT stuff from bitcoin and miniscript and have it all live in this crate. The open quesiton is do we track bitcoin v0.32 or bitcoin 0.33.0-beta?

My proposal is to track the beta releases (this will include miniscript beta releases). The reason is that if users want bitcoin v0.32 (and the original PSBT code) they can depend on that version (and the stable current latest miniscript version). Even if downstream at some stage wants to use beta releases (and later stable once beta becomes stable) they can still have two bitcoin deps if desired.

Furthermore I think we should:

  • Delete the v0 module (and remove the v2 module abstraction).
  • Document that v0.2 has bitcoin v0.32 and v0.3 onwards depends on later version of bitcoin.
  • Depend on bitcoin v0.33 soon as we can (needs corpec and miniscript upgrade PRs to be done still).
  • Go absolutely wild on the API with no thought of backwards API compatibility.
  • Provide a serialize_as_v0 function alongsid serialize() that does v2 (example names only).

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