bitcoin/bitcoin — pull request #1655 by gmaxwell (2012-08-06 04:40:59+00:00)
Title: Correctly handle missing inputs in signrawtransaction. Fixes #1654.

Signrawtransaction rpc was crashing when some inputs were unknown,
and even with that fixed was failing to handle all the known inputs
if there were unknown inputs in front of them. This commit instead
attempts to fetch inputs one at a time.