Check whether a scriptPubKey is known to be segwit.
Declared in <script/sign.h>
bool
IsSegWitOutput(
SigningProvider const& provider,
CScript const& script);
True if the script is a known segwit output.
| Name | Description |
|---|---|
| provider | The source of scripts used to resolve the output. |
| script | The output script to inspect. |