Sign the CMutableTransaction
Synopsis
Declared in <script/sign.h>
bool
SignTransaction(
CMutableTransaction& mtx,
SigningProvider const* provider,
std::map<COutPoint, Coin> const& coins,
SignOptions const& options,
std::map<int, bilingual_str>& input_errors);
Return Value
True if every input was signed successfully.
Parameters
Name |
Description |
mtx |
The transaction to sign in place. |
provider |
The source of keys and scripts used to sign. |
coins |
The outputs spent by the transaction, keyed by outpoint. |
options |
Options controlling how each input is signed. |
input_errors |
Filled with per‐input signing errors, keyed by index. |
Created with MrDocs