{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5960","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5960/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5960/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5960/events","html_url":"https://github.com/bitcoin/bitcoin/issues/5960","id":65897162,"number":5960,"title":"signrawtransaction incorrectly reports \"complete\" as false when the transaction is completely signed","user":{"login":"davout","id":33329,"avatar_url":"https://avatars.githubusercontent.com/u/33329?v=3","gravatar_id":"","url":"https://api.github.com/users/davout","html_url":"https://github.com/davout","followers_url":"https://api.github.com/users/davout/followers","following_url":"https://api.github.com/users/davout/following{/other_user}","gists_url":"https://api.github.com/users/davout/gists{/gist_id}","starred_url":"https://api.github.com/users/davout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davout/subscriptions","organizations_url":"https://api.github.com/users/davout/orgs","repos_url":"https://api.github.com/users/davout/repos","events_url":"https://api.github.com/users/davout/events{/privacy}","received_events_url":"https://api.github.com/users/davout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-02T10:10:57Z","updated_at":"2015-04-02T21:22:01Z","closed_at":null,"body":"I took a random transaction in a random block.\r\nWhen attempting to sign an already signed transaction it should report the \"complete\" field as \"true\", in this example it reports false.\r\n\r\nResults of a getinfo (txindex is enabled)\r\n````\r\n{\r\n    \"version\" : 109900,\r\n    \"protocolversion\" : 70002,\r\n    \"walletversion\" : 60000,\r\n    \"balance\" : 47.88578288,\r\n    \"blocks\" : 350358,\r\n    \"timeoffset\" : -1,\r\n    \"connections\" : 8,\r\n    \"proxy\" : \"\",\r\n    \"difficulty\" : 46717549644.70642090,\r\n    \"testnet\" : false,\r\n    \"keypoololdest\" : 1400773375,\r\n    \"keypoolsize\" : 101,\r\n    \"unlocked_until\" : 1427969640,\r\n    \"paytxfee\" : 0.00000000,\r\n    \"relayfee\" : 0.00001000,\r\n    \"errors\" : \"This is a pre-release test build - use at your own risk - do not use for mining or merchant applications\"\r\n}\r\n````\r\n\r\nReproduction: \r\n````\r\n$ bitcoin getrawtransaction be273ceb7449ec7c906ce6ee2cf9e8aab15b025235526a5e61cfd3cbabc628ed\r\n010000000348c568ba5a38f8d4867a047899763e4e3479b7b0c5cb4b3b781ebe2a1524429a010000006b48304502203892627e4f41925f111fe05d5799b116fb79e5657aff73f6ba36b9b0cce9cc56022100bfaf394005235eb1c4a7386a0eb67638f4f160db4ce34c2f8e2fcc2e11f37cd10121027f1afcc9f4844e790e79ffeb759121f835feaf2d23759fce29adfcadf3215333ffffffff37e031c49696f1d12280ae08a88395976def344f109052e8aea2c496195eb173010000006b483045022100e165809b9d8947b2bac0e8a50de626fd1ab6c1b89feaee00c9d62c327df35c58022061f1e846027b4a097d5297044c086780c2360bb0328106fe3d7d4f815558b1b00121027f1afcc9f4844e790e79ffeb759121f835feaf2d23759fce29adfcadf3215333ffffffff72d305a1af7862d36ce6aad87ec2ab3825e46ef3eec52b0c63260bd1de376019000000006b48304502200eda9f0b6f5d50d26f77b927a30f95b2191c6dda118b294402ab828c4d5993cb02210080df452f3c7feeecab4ea4442e8bdab4dff91f4e879d617ec4e2925833733935012103a37f8496463f5fce71e1f0a213a3da02b1a76d58f651f993d2e17c60524f5455ffffffff0260c93456000000001976a9146db120368f5357adfdfddf2e1f4fdef85e6c947888ac75b80000000000001976a9142c17d7ad8105213a8743583073f1877ea098e66688ac00000000\r\n\r\n$ bitcoin signrawtransaction 010000000348c568ba5a38f8d4867a047899763e4e3479b7b0c5cb4b3b781ebe2a1524429a010000006b48304502203892627e4f41925f111fe05d5799b116fb79e5657aff73f6ba36b9b0cce9cc56022100bfaf394005235eb1c4a7386a0eb67638f4f160db4ce34c2f8e2fcc2e11f37cd10121027f1afcc9f4844e790e79ffeb759121f835feaf2d23759fce29adfcadf3215333ffffffff37e031c49696f1d12280ae08a88395976def344f109052e8aea2c496195eb173010000006b483045022100e165809b9d8947b2bac0e8a50de626fd1ab6c1b89feaee00c9d62c327df35c58022061f1e846027b4a097d5297044c086780c2360bb0328106fe3d7d4f815558b1b00121027f1afcc9f4844e790e79ffeb759121f835feaf2d23759fce29adfcadf3215333ffffffff72d305a1af7862d36ce6aad87ec2ab3825e46ef3eec52b0c63260bd1de376019000000006b48304502200eda9f0b6f5d50d26f77b927a30f95b2191c6dda118b294402ab828c4d5993cb02210080df452f3c7feeecab4ea4442e8bdab4dff91f4e879d617ec4e2925833733935012103a37f8496463f5fce71e1f0a213a3da02b1a76d58f651f993d2e17c60524f5455ffffffff0260c93456000000001976a9146db120368f5357adfdfddf2e1f4fdef85e6c947888ac75b80000000000001976a9142c17d7ad8105213a8743583073f1877ea098e66688ac00000000\r\n{\r\n    \"hex\" : \"010000000348c568ba5a38f8d4867a047899763e4e3479b7b0c5cb4b3b781ebe2a1524429a010000006b48304502203892627e4f41925f111fe05d5799b116fb79e5657aff73f6ba36b9b0cce9cc56022100bfaf394005235eb1c4a7386a0eb67638f4f160db4ce34c2f8e2fcc2e11f37cd10121027f1afcc9f4844e790e79ffeb759121f835feaf2d23759fce29adfcadf3215333ffffffff37e031c49696f1d12280ae08a88395976def344f109052e8aea2c496195eb173010000006b483045022100e165809b9d8947b2bac0e8a50de626fd1ab6c1b89feaee00c9d62c327df35c58022061f1e846027b4a097d5297044c086780c2360bb0328106fe3d7d4f815558b1b00121027f1afcc9f4844e790e79ffeb759121f835feaf2d23759fce29adfcadf3215333ffffffff72d305a1af7862d36ce6aad87ec2ab3825e46ef3eec52b0c63260bd1de376019000000006b48304502200eda9f0b6f5d50d26f77b927a30f95b2191c6dda118b294402ab828c4d5993cb02210080df452f3c7feeecab4ea4442e8bdab4dff91f4e879d617ec4e2925833733935012103a37f8496463f5fce71e1f0a213a3da02b1a76d58f651f993d2e17c60524f5455ffffffff0260c93456000000001976a9146db120368f5357adfdfddf2e1f4fdef85e6c947888ac75b80000000000001976a9142c17d7ad8105213a8743583073f1877ea098e66688ac00000000\",\r\n    \"complete\" : false\r\n}\r\n````"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/89047695","html_url":"https://github.com/bitcoin/bitcoin/issues/5960#issuecomment-89047695","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5960","id":89047695,"user":{"login":"sipa","id":548488,"avatar_url":"https://avatars.githubusercontent.com/u/548488?v=3","gravatar_id":"","url":"https://api.github.com/users/sipa","html_url":"https://github.com/sipa","followers_url":"https://api.github.com/users/sipa/followers","following_url":"https://api.github.com/users/sipa/following{/other_user}","gists_url":"https://api.github.com/users/sipa/gists{/gist_id}","starred_url":"https://api.github.com/users/sipa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipa/subscriptions","organizations_url":"https://api.github.com/users/sipa/orgs","repos_url":"https://api.github.com/users/sipa/repos","events_url":"https://api.github.com/users/sipa/events{/privacy}","received_events_url":"https://api.github.com/users/sipa/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T21:22:01Z","updated_at":"2015-04-02T21:22:01Z","body":"signrawtransaction uses the standard script verification flags to test the\nsignatures, which are stricter than the consensus rules, and certainly\nstricter than what the consensus rules were in the past.\n"}}