Compresses a script into the compact on‐disk representation.

Synopsis

Declared in <compressor.h>

bool
CompressScript(
    CScript const& script,
    CompressedScript& out);

Return Value

true if the script matched a special compressed form.

Parameters

Name

Description

script

The script to compress.

out

Output buffer that receives the compressed script.

Created with MrDocs