TxValidationState::ToString

Formats the state as a human-readable string.

Synopsis

Declared in <consensus/validation.h>

std::string
ToString() const;

Return Value

"Valid", or the reject reason optionally followed by the debug message.