Check whether a scriptPubKey is known to be segwit.

Synopsis

Declared in <script/sign.h>

bool
IsSegWitOutput(
    SigningProvider const& provider,
    CScript const& script);

Return Value

True if the script is a known segwit output.

Parameters

Name

Description

provider

The source of scripts used to resolve the output.

script

The output script to inspect.

Created with MrDocs