Check that all flags in STANDARD_SCRIPT_VERIFY_FLAGS are present in mapFlagNames.
| 86 | |
| 87 | // Check that all flags in STANDARD_SCRIPT_VERIFY_FLAGS are present in mapFlagNames. |
| 88 | bool CheckMapFlagNames() |
| 89 | { |
| 90 | unsigned int standard_flags_missing{STANDARD_SCRIPT_VERIFY_FLAGS}; |
| 91 | for (const auto& pair : mapFlagNames) { |
| 92 | standard_flags_missing &= ~(pair.second); |
| 93 | } |
| 94 | return standard_flags_missing == 0; |
| 95 | } |
| 96 | |
| 97 | std::string FormatScriptFlags(unsigned int flags) |
| 98 | { |
no outgoing calls
no test coverage detected