MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsError

Method IsError

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

Source from the content-addressed store, hash-verified

105 bool IsValid() const { return m_mode == ModeState::M_VALID; }
106 bool IsInvalid() const { return m_mode == ModeState::M_INVALID; }
107 bool IsError() const { return m_mode == ModeState::M_ERROR; }
108 Result GetResult() const { return m_result; }
109 std::string GetRejectReason() const { return m_reject_reason; }
110 std::string GetDebugMessage() const { return m_debug_message; }

Callers 4

LoadExternalBlockFileMethod · 0.80
block.cppFile · 0.80
BIP22ValidationResultFunction · 0.80
submitheaderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected