Encode the outcome of a signing attempt as a JSON object
Synopsis
Declared in <rpc/rawtransaction_util.h>
void
SignTransactionResultToJSON(
CMutableTransaction& mtx,
bool complete,
std::map<COutPoint, Coin> const& coins,
std::map<int, bilingual_str> const& input_errors,
UniValue& result);
Parameters
Name |
Description |
mtx |
The transaction that was signed. |
complete |
Whether every input now has a complete signature. |
coins |
Map of outputs spent by the transaction. |
input_errors |
Per‐input signing errors keyed by input index. |
result |
JSON object the signing results are written into. |
Created with MrDocs