mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-02 11:09:36 +01:00
4b53cbd692test: Test for musig() in various miniscript expressions (Ava Chow)ec0f47b15cminiscript: Using Func and Expr when parsing keys, hashes, and locktimes (Ava Chow)6fd780d4fbdescriptors: Increment key_exp_index in ParsePubkey(Inner) (Ava Chow)b12281bd86miniscript: Use a reference to key_exp_index in KeyParser (Ava Chow)ce4c66eb7ctest: Test that key expression indexes match key count (Ava Chow) Pull request description: The miniscript parser currently only looks for the next `)` when parsing key, hash, and locktime expressions. This fails to parse when the expressions contain a nested expression. Currently, this is only possible with `musig()` inside of key expressions. However, this pattern can be generalized to handling hashes and locktimes, so I implemented those too. Fixes #34076 ACKs for top commit: rkrux: ACK4b53cbd692sipa: ACK4b53cbd692darosior: Other than that, Approach ACK4b53cbd692. That makes sense to me but i have not closely reviewed the code. Tree-SHA512: 01040c7b07a59d8e3725ff11ab9543b256aea22535fb94059f490a5bb45319e859666af04c2f0a4edcb8cf1e6dfc7bd8a8271b21ad81143bafccd4d0a39cae9c