diff options
author | dexX7 <dexx@bitwatch.co> | 2015-03-22 19:07:28 +0100 |
---|---|---|
committer | dexX7 <dexx@bitwatch.co> | 2015-05-05 09:40:55 +0200 |
commit | 8ac2a4e1788426329b842eea7121b8eac7875c76 (patch) | |
tree | a98c0c25226c4a8191ffbf7760352c6d9a58bf1d /qa | |
parent | f0c4281f845e8f350acb01cd20ac7f4e085455b0 (diff) | |
download | bitcoin-8ac2a4e1788426329b842eea7121b8eac7875c76.tar.xz |
RPC: show script verification errors in "signrawtransaction" result
If there are any script verification errors, when using "signrawtransaction", they are shown in the RPC result:
```
// ...
Result:
{
"hex" : "value", (string) The hex-encoded raw transaction with signature(s)
"complete" : true|false, (boolean) If the transaction has a complete set of signatures
"errors" : [ (json array of objects) Script verification errors (if there are any)
{
"txid" : "hash", (string) The hash of the referenced, previous transaction
"vout" : n, (numeric) The index of the output to spent and used as input
"scriptSig" : "hex", (string) The hex-encoded signature script
"sequence" : n, (numeric) Script sequence number
"error" : "text" (string) Verification or signing error related to the input
}
,...
]
}
```
Diffstat (limited to 'qa')
0 files changed, 0 insertions, 0 deletions