Produce a script signature using a generic signature creator.

Synopsis

Declared in <script/sign.h>

bool
ProduceSignature(
    SigningProvider const& provider,
    BaseSignatureCreator const& creator,
    CScript const& scriptPubKey,
    SignatureData& sigdata);

Return Value

True if a complete signature was produced.

Parameters

Name

Description

provider

The source of keys and scripts used to sign.

creator

The signature creator that produces the signatures.

scriptPubKey

The output script being satisfied.

sigdata

In/out signature data updated with the produced material.

Created with MrDocs