Format a script as a compact single‐line string for logging and display.

Synopsis

Declared in <core_io.h>

std::string
FormatScript(CScript const& script);

Return Value

The formatted script text.

Parameters

Name

Description

script

Script to format.

Created with MrDocs