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
96cb2ec Add comment to decoding x-only keys (sanket1729)
498bad2 Address review feedback (sanket1729)
954df35 Check stack execution height in tapscript execution (sanket1729)
95ab99d Add height check to miniscript types (sanket1729)
3eb63d5 Add parse/parse_insane for schnorr keys (sanket1729)
888cd62 Add support for parsing Tapscript Miniscripts (sanket1729)
9a5384d Add TapCtx (sanket1729)
4da439f Fix warnings (sanket1729)
Pull request description:
This is still a draft WIP for taproot PR. There are several API changes and multiple design decisions, and I am open to other possible design opinions. In particular, feedback about changes to `ToPublicKey` and the `ScriptContext` trait is appreciated.
This does **not** include support for P2TR descriptors, multi_a fragment in miniscript.
Still todo:
- [ ] Track height during execution to make sure we don't exceed 1000 elements. This was not a concern previously because it was impossible to hit the limit without exceeding 201 opcodes. But with taproot, this is now possible. See #198 .
- [ ] Implement support for multi_a fragment in Taproot. Depends on support for new opcodes from rust-bitcoin. We can use NOPs meanwhile as this is not a hard blocker.
- [ ] Implement taproot descriptor. This would require some design considerations about the tree representation.
- [ ] Integrate taproot with interpreter and compiler. The interpreter is probably straightforward but carrying around `bitcoin:::PublicKey` and `schnorr::Publickey` would be tricky.
- [ ] Integrate with descriptorPublicKey so that descriptor wallets like bdk can actually use it.
ACKs for top commit:
apoelstra:
ACK 96cb2ec
Tree-SHA512: 261173c3a6f8c980d204fce1f868dcd17c4219fd12a8e6e197b503efb47ae9b9371d7a9208c43008f1c21db55ffc3f68e6d7fb8badbf2bf397b2970292f8ffe4
0 commit comments