ElementsProject / libwally-core

Useful primitives for wallets
Other
281 stars 135 forks source link

descriptor updates #392

Closed jgriffiths closed 1 year ago

jgriffiths commented 1 year ago

Allow limiting and querying the maximum nesting depth of a descriptor. Make the substitution variables compatible with other map usage.

cc: @Sjors @k-matsuzawa please note the ABI changes.

JamieDriver commented 1 year ago

Eyeballed code. Tested map vars change - agree all good. Tested getting script via python wrapper - agree fixed. Tested 'descriptor_get_depth()' and the parsing depth limit - both lgtm. On this basis, ack cf9bffa3