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

Method IsError

src/consensus/validation.h:122–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 bool IsValid() const { return m_mode == ModeState::M_VALID; }
121 bool IsInvalid() const { return m_mode == ModeState::M_INVALID; }
122 bool IsError() const { return m_mode == ModeState::M_ERROR; }
123 Result GetResult() const { return m_result; }
124 std::string GetRejectReason() const { return m_reject_reason; }
125 std::string GetDebugMessage() const { return m_debug_message; }

Callers 4

LoadExternalBlockFileMethod · 0.80
FUZZ_TARGET_INITFunction · 0.80
BIP22ValidationResultFunction · 0.80
submitheaderFunction · 0.80

Calls

no outgoing calls

Tested by 1

FUZZ_TARGET_INITFunction · 0.64