20 if (!debug_message.empty()) {
Capture information about block/transaction validation.
std::string GetRejectReason() const
std::string GetDebugMessage() const
const std::string strMessageMagic
std::string FormatStateMessage(const CValidationState &state)
Convert CValidationState to a human-readable message for logging.