[#BlockValidationState-ToString]
= xref:BlockValidationState.adoc[BlockValidationState]::ToString
:relfileprefix: ../
:mrdocs:

Formats the state as a human&hyphen;readable string&period;

== Synopsis

Declared in `&lt;consensus&sol;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
ToString() const;
----

== Return Value

&quot;Valid&quot;, or the reject reason optionally followed by the debug message&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
