{"action":"created","issue":{"url":"https://api.github.com/repos/sipa/bitcoin/issues/67","repository_url":"https://api.github.com/repos/sipa/bitcoin","labels_url":"https://api.github.com/repos/sipa/bitcoin/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/sipa/bitcoin/issues/67/comments","events_url":"https://api.github.com/repos/sipa/bitcoin/issues/67/events","html_url":"https://github.com/sipa/bitcoin/issues/67","id":145897271,"number":67,"title":"fundrawtransaction can look like extended tx format.","user":{"login":"rustyrussell","id":775844,"avatar_url":"https://avatars.githubusercontent.com/u/775844?v=3","gravatar_id":"","url":"https://api.github.com/users/rustyrussell","html_url":"https://github.com/rustyrussell","followers_url":"https://api.github.com/users/rustyrussell/followers","following_url":"https://api.github.com/users/rustyrussell/following{/other_user}","gists_url":"https://api.github.com/users/rustyrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/rustyrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustyrussell/subscriptions","organizations_url":"https://api.github.com/users/rustyrussell/orgs","repos_url":"https://api.github.com/users/rustyrussell/repos","events_url":"https://api.github.com/users/rustyrussell/events{/privacy}","received_events_url":"https://api.github.com/users/rustyrussell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-05T06:03:44Z","updated_at":"2016-04-23T07:27:19Z","closed_at":null,"body":"Seems to cause a misparse, since you're supposed to be able to hand a 0-input tx here.  Seems like a new parameter to fundrawtransaction may be needed, to a hack to try parsing both ways..."},"comment":{"url":"https://api.github.com/repos/sipa/bitcoin/issues/comments/213681547","html_url":"https://github.com/sipa/bitcoin/issues/67#issuecomment-213681547","issue_url":"https://api.github.com/repos/sipa/bitcoin/issues/67","id":213681547,"user":{"login":"NicolasDorier","id":3020646,"avatar_url":"https://avatars.githubusercontent.com/u/3020646?v=3","gravatar_id":"","url":"https://api.github.com/users/NicolasDorier","html_url":"https://github.com/NicolasDorier","followers_url":"https://api.github.com/users/NicolasDorier/followers","following_url":"https://api.github.com/users/NicolasDorier/following{/other_user}","gists_url":"https://api.github.com/users/NicolasDorier/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasDorier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasDorier/subscriptions","organizations_url":"https://api.github.com/users/NicolasDorier/orgs","repos_url":"https://api.github.com/users/NicolasDorier/repos","events_url":"https://api.github.com/users/NicolasDorier/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasDorier/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T07:27:19Z","updated_at":"2016-04-23T07:27:19Z","body":"By quickly checking the code, it seems fundrawtransaction can be used with some inputs, so that the caller can oblige to select some specific coins. (https://github.com/bitcoin/bitcoin/blob/0c95ebce7e67f86f62c099974dde68c8d808240b/src/wallet/wallet.cpp#L1936)\r\n\r\nAnother reason might be Bob send a partially funded transaction, then give it to Alice to complete the rest."}}