When signing transaction I think the following is done (in short):
For each input
- all inputs and outputs are taken
- the respective input scriptSig is filled with txPrev.pubScript, other inputs's scriptSigs are left blank?
- this is signed and signature is put in scriptSig
Is there any benefit for bundling all inputs prior to making each signature? Could just respective input be used when signing for that input?