Tezos_raw_protocol_alpha.Context_binary_proofSourceval check_is_binary :
Tezos_protocol_environment_alpha.Context.Proof.tree
Tezos_protocol_environment_alpha.Context.Proof.t ->
unit Tezos_protocol_environment_alpha.Error_monad.tzresultis_binary proof will fail if proof does not claim to be a Merkle proof of a binary tree compatible with the one defined in Context_binary.
Note: It is very important to systematically check this before calling the verify_proof exposed in the protocol, since this function does not discriminate between binary and 32-ary proofs.