SignTransaction overloads
Declared in <wallet/wallet.h>
Fetch the inputs and sign with SIGHASH_ALL.
[[requires_capability(0x7fb955bcfab8), requires_capability(0x7fb94db843d8), requires_capability(0x7fb95ab14258), requires_capability(0x7fb959fb0e38), requires_capability(0x7fb956cbb0c8)]]
bool
SignTransaction(CMutableTransaction& tx) const;
» more...
Sign the tx given the input coins and sighash.
bool
SignTransaction(
CMutableTransaction& tx,
std::map<COutPoint, Coin> const& coins,
int sighash,
std::map<int, bilingual_str>& input_errors) const;
» more...
true if all inputs were signed.
| Name | Description |
|---|---|
| tx | The transaction to sign in place. |
| coins | The input coins spent by the transaction. |
| sighash | The signature hash type to use. |
| input_errors | Set to per-input error messages for inputs that fail. |