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
I was previously reluctant to do parsing checks on the descriptors as it's harder to get the semantics right than when compiling the policy. But the compile-time checks don't achieve much, and we can already check a number of things without much semantics (like the maximum number of keys, check for duplicates).
Also, we already analyze the Unvault descriptor semantic with success to get the threshold, so why not for parsing checks?
I was previously reluctant to do parsing checks on the descriptors as it's harder to get the semantics right than when compiling the policy. But the compile-time checks don't achieve much, and we can already check a number of things without much semantics (like the maximum number of keys, check for duplicates).
Also, we already analyze the Unvault descriptor semantic with success to get the threshold, so why not for parsing checks?
revault_tx/src/scripts.rs
Lines 510 to 560 in 4bddb1d
The text was updated successfully, but these errors were encountered: