Creates new signatures and adds them to the transaction. Returns whether all inputs were signed
Declared in <wallet/scriptpubkeyman.h>
virtual
bool
SignTransaction(
CMutableTransaction& tx,
std::map<COutPoint, Coin> const& coins,
int sighash,
std::map<int, bilingual_str>& input_errors) const;
true if all inputs were signed.
| Name | Description |
|---|---|
| tx | The transaction to sign, updated in place. |
| coins | The previous outputs spent by the transaction's inputs. |
| sighash | The signature hash type to use. |
| input_errors | Filled with a per-input error message for any input that could not be signed. |