{"action":"created","issue":{"url":"https://api.github.com/repos/libbitcoin/libbitcoin-explorer/issues/282","labels_url":"https://api.github.com/repos/libbitcoin/libbitcoin-explorer/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/libbitcoin/libbitcoin-explorer/issues/282/comments","events_url":"https://api.github.com/repos/libbitcoin/libbitcoin-explorer/issues/282/events","html_url":"https://github.com/libbitcoin/libbitcoin-explorer/issues/282","id":106173806,"number":282,"title":"validation of inputs failed despite that the endorsement is valid. testnet.","user":{"login":"Abdullah114","id":5534554,"avatar_url":"https://avatars.githubusercontent.com/u/5534554?v=3","gravatar_id":"","url":"https://api.github.com/users/Abdullah114","html_url":"https://github.com/Abdullah114","followers_url":"https://api.github.com/users/Abdullah114/followers","following_url":"https://api.github.com/users/Abdullah114/following{/other_user}","gists_url":"https://api.github.com/users/Abdullah114/gists{/gist_id}","starred_url":"https://api.github.com/users/Abdullah114/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abdullah114/subscriptions","organizations_url":"https://api.github.com/users/Abdullah114/orgs","repos_url":"https://api.github.com/users/Abdullah114/repos","events_url":"https://api.github.com/users/Abdullah114/events{/privacy}","received_events_url":"https://api.github.com/users/Abdullah114/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-12T17:35:38Z","updated_at":"2015-09-12T17:53:06Z","closed_at":null,"body":"Although the endorsement has been validated I receive input failed error for transaction validation on the testnet. Any ideas why? \r\nBelow is the output of my bash. \r\nThanks a lot.\r\n\r\ncreating endorsement script:\r\n>> root@t410:/home/n# bx input-set \"[ 304402206680b20d021a225bf0da0a6267e7ea27538cdcfa9de00070dc978a1f9563509902202261736efe6635f08b1401c39fb020f751e194829b1c2ec456cc77f002c7861c01 ] [ 033e64a441a40e58b9b0d031909a99cb94e87c96abe008a024c01e04d9f059913b ]\" 0100000001eb31dc84d1f96794b29a87c08e636f3126c214e1e63e2f8eaf724fef415af3e5000000006a47304402206680b20d021a225bf0da0a6267e7ea27538cdcfa9de00070dc978a1f9563509902202261736efe6635f08b1401c39fb020f751e194829b1c2ec456cc77f002c7861c0121033e64a441a40e58b9b0d031909a99cb94e87c96abe008a024c01e04d9f059913bffffffff01404b4c00000000001976a9142a8a065d2cc6537c3bfd8937cae339a45d53edfb88ac00000000\r\n\r\nreceived:\r\n>> 0100000001eb31dc84d1f96794b29a87c08e636f3126c214e1e63e2f8eaf724fef415af3e5000000006a47304402206680b20d021a225bf0da0a6267e7ea27538cdcfa9de00070dc978a1f9563509902202261736efe6635f08b1401c39fb020f751e194829b1c2ec456cc77f002c7861c0121033e64a441a40e58b9b0d031909a99cb94e87c96abe008a024c01e04d9f059913bffffffff01404b4c00000000001976a9142a8a065d2cc6537c3bfd8937cae339a45d53edfb88ac00000000\r\n\r\ndecoded:\r\n>> root@t410:/home/n# bx tx-decode 0100000001eb31dc84d1f96794b29a87c08e636f3126c214e1e63e2f8eaf724fef415af3e5000000006a47304402206680b20d021a225bf0da0a6267e7ea27538cdcfa9de00070dc978a1f9563509902202261736efe6635f08b1401c39fb020f751e194829b1c2ec456cc77f002c7861c0121033e64a441a40e58b9b0d031909a99cb94e87c96abe008a024c01e04d9f059913bffffffff01404b4c00000000001976a9142a8a065d2cc6537c3bfd8937cae339a45d53edfb88ac00000000\r\ntransaction\r\n{\r\n    hash f1d44cfc6b1b9e1dd78705d2d7adb8fdff78652d933c4f713dfb9ff4e1f5b94c\r\n    inputs\r\n    {\r\n        input\r\n        {\r\n            address msYXCFA5jkTcdFZn3miLuNFMQo9dxj8P7E\r\n            previous_output\r\n            {\r\n                hash e5f35a41ef4f72af8e2f3ee6e114c226316f638ec0879ab29467f9d184dc31eb\r\n                index 0\r\n            }\r\n            script \"[ 304402206680b20d021a225bf0da0a6267e7ea27538cdcfa9de00070dc978a1f9563509902202261736efe6635f08b1401c39fb020f751e194829b1c2ec456cc77f002c7861c01 ] [ 033e64a441a40e58b9b0d031909a99cb94e87c96abe008a024c01e04d9f059913b ]\"\r\n            sequence 4294967295\r\n        }\r\n    }\r\n    lock_time 0\r\n    outputs\r\n    {\r\n        output\r\n        {\r\n            address mjPt2FEcxyoZD5CQtvsfNbVAHuwPvA7K9N\r\n            script \"dup hash160 [ 2a8a065d2cc6537c3bfd8937cae339a45d53edfb ] equalverify checksig\"\r\n            value 5000000\r\n        }\r\n    }\r\n    version 1\r\n}\r\n\r\nvalidating the endorsement:\r\n>> root@t410:/home/n# bx input-validate 033e64a441a40e58b9b0d031909a99cb94e87c96abe008a024c01e04d9f059913b \"dup hash160 [ 2a8a065d2cc6537c3bfd8937cae339a45d53edfb ] equalverify checksig\" 304402206680b20d021a225bf0da0a6267e7ea27538cdcfa9de00070dc978a1f9563509902202261736efe6635f08b1401c39fb020f751e194829b1c2ec456cc77f002c7861c01 0100000001eb31dc84d1f96794b29a87c08e636f3126c214e1e63e2f8eaf724fef415af3e5000000006a47304402206680b20d021a225bf0da0a6267e7ea27538cdcfa9de00070dc978a1f9563509902202261736efe6635f08b1401c39fb020f751e194829b1c2ec456cc77f002c7861c0121033e64a441a40e58b9b0d031909a99cb94e87c96abe008a024c01e04d9f059913bffffffff01404b4c00000000001976a9142a8a065d2cc6537c3bfd8937cae339a45d53edfb88ac00000000\r\n\r\nreceived:\r\n>> The endorsement is valid.\r\n\r\ntrying to validate the transaction:\r\n>> root@t410:/home/n# bx validate-tx 0100000001eb31dc84d1f96794b29a87c08e636f3126c214e1e63e2f8eaf724fef415af3e5000000006a47304402206680b20d021a225bf0da0a6267e7ea27538cdcfa9de00070dc978a1f9563509902202261736efe6635f08b1401c39fb020f751e194829b1c2ec456cc77f002c7861c0121033e64a441a40e58b9b0d031909a99cb94e87c96abe008a024c01e04d9f059913bffffffff01404b4c00000000001976a9142a8a065d2cc6537c3bfd8937cae339a45d53edfb88ac00000000\r\n\r\nreceived:\r\n>> validation of inputs failed\r\n"},"comment":{"url":"https://api.github.com/repos/libbitcoin/libbitcoin-explorer/issues/comments/139800118","html_url":"https://github.com/libbitcoin/libbitcoin-explorer/issues/282#issuecomment-139800118","issue_url":"https://api.github.com/repos/libbitcoin/libbitcoin-explorer/issues/282","id":139800118,"user":{"login":"evoskuil","id":1369335,"avatar_url":"https://avatars.githubusercontent.com/u/1369335?v=3","gravatar_id":"","url":"https://api.github.com/users/evoskuil","html_url":"https://github.com/evoskuil","followers_url":"https://api.github.com/users/evoskuil/followers","following_url":"https://api.github.com/users/evoskuil/following{/other_user}","gists_url":"https://api.github.com/users/evoskuil/gists{/gist_id}","starred_url":"https://api.github.com/users/evoskuil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evoskuil/subscriptions","organizations_url":"https://api.github.com/users/evoskuil/orgs","repos_url":"https://api.github.com/users/evoskuil/repos","events_url":"https://api.github.com/users/evoskuil/events{/privacy}","received_events_url":"https://api.github.com/users/evoskuil/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T17:53:06Z","updated_at":"2015-09-12T17:53:06Z","body":"Did you compile the full stack for testnet?"}}