You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a08a03c msrv fixes (Andrew Poelstra)
9bd330e run cargo fmt (Andrew Poelstra)
928bf29 descriptor: make (almost) all methods generic over the extension type (Andrew Poelstra)
9a4a5a0 rename Transalator to Translator (Andrew Poelstra)
a730990 refactor `Descriptor` to be parameterized by Extension, not ExtParam (Andrew Poelstra)
3c64411 extension: introduce TranslateExtParam trait (Andrew Poelstra)
dd1a688 remove some no-op covenant conversions (Andrew Poelstra)
b3e88cd [MOVE ONLY] covenants: move ExtParams to its own module (Andrew Poelstra)
Pull request description:
The existing code made `Descriptor` generic over `ExtParam` rather than `Extension`. This made the `Extension` trati basically useless since every `Descriptor` always had `CovenantExt` as its extension type.
It also caused me a lot of confusion because I tried to call the `address` method on a `Descriptor<Pk, NoExt>`, which I was able to parse, just not call any methods on. I pulled on this string and 1000 lines later here we are.
ACKs for top commit:
sanket1729:
code review ACK a08a03c. I am attempting to write an extension for Any prevout and APOAS (any prevout any script) just to see what a downstream implementation of an Extension might look like.
Tree-SHA512: ff15cde3f84606286af0b3ff504fe6b306789d5a95e50b964a3f62c44d70bb9247520fa870b242cbdeab15760a69d998976be85932def074073672601127f822
0 commit comments