Changeset View
Changeset View
Standalone View
Standalone View
src/util/validation.cpp
Show All 16 Lines | std::string FormatStateMessage(const ValidationState &state) { | ||||
if (!debug_message.empty()) { | if (!debug_message.empty()) { | ||||
return strprintf("%s, %s (code %i)", state.GetRejectReason(), | return strprintf("%s, %s (code %i)", state.GetRejectReason(), | ||||
debug_message, state.GetRejectCode()); | debug_message, state.GetRejectCode()); | ||||
} | } | ||||
return strprintf("%s (code %i)", state.GetRejectReason(), | return strprintf("%s (code %i)", state.GetRejectReason(), | ||||
state.GetRejectCode()); | state.GetRejectCode()); | ||||
} | } | ||||
const std::string strMessageMagic = "Bitcoin Signed Message:\n"; |