MCPcopy Create free account
hub / github.com/ElementsProject/elements / verify_flags

Function verify_flags

src/script/bitcoinconsensus.cpp:75–78  ·  view source on GitHub ↗

Check that all specified flags are part of the libconsensus interface. */

Source from the content-addressed store, hash-verified

73
74/** Check that all specified flags are part of the libconsensus interface. */
75static bool verify_flags(unsigned int flags)
76{
77 return (flags & ~(bitcoinconsensus_SCRIPT_FLAGS_VERIFY_ALL)) == 0;
78}
79
80static int verify_script(const unsigned char *hash_genesis_block,
81 const unsigned char *scriptPubKey, unsigned int scriptPubKeyLen, CConfidentialValue amount,

Callers 1

verify_scriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected