MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / verify_flags

Function verify_flags

src/script/bitcoinconsensus.cpp:74–77  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

verify_scriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected