 |
September 03, 2017, 04:02:54 AM |
|
the "signrawtransaction" help is : ----------------------------- signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
Sign inputs for raw transaction (serialized, hex-encoded). The second optional argument (may be null) is an array of previous transaction outputs that this transaction depends on but may not yet be in the block chain. The third optional argument (may be null) is an array of base58-encoded private keys that, if given, will be the only keys used to sign the transaction. ----------------------------- My question is when the second parameter needs to be provided? If I use the online computer to generate the transaction, then use the offline computer to sign the transaction, does the second parameter needs to be provided? Thanks!
|