Sign a transaction with the given keystore and previous transactions
Declared in <rpc/rawtransaction_util.h>
void
SignTransaction(
CMutableTransaction& mtx,
SigningProvider const* keystore,
std::map<COutPoint, Coin> const& coins,
UniValue const& hashType,
UniValue& result);
| Name | Description |
|---|---|
| mtx | The transaction to-be-signed |
| keystore | Temporary keystore containing signing keys |
| coins | Map of unspent outputs |
| hashType | The signature hash type |
| result | JSON object where signed transaction results accumulate |