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