Skip to main content

validate_note_codec_structure

Function validate_note_codec_structure 

Source
pub fn validate_note_codec_structure(component: &[u8]) -> Result<()>
Expand description

Rejects a note codec component whose Wasm features or structure fall outside the policy.

validate_note_codec_component is the entry point both sides call. This function is public for a caller that bounds the byte length itself.