CScript::IsPayToScriptHash

Returns whether this script is a pay-to-script-hash (P2SH) output.

Synopsis

Declared in <script/script.h>

bool
IsPayToScriptHash() const;

Return Value

true if the script matches the P2SH pattern.