{"action":"created","issue":{"url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/146","repository_url":"https://api.github.com/repos/hyperledger/sawtooth-core","labels_url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/146/comments","events_url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/146/events","html_url":"https://github.com/hyperledger/sawtooth-core/pull/146","id":211140393,"number":146,"title":"Add requests for batch status to REST and ZMQ APIs","user":{"login":"delventhalz","id":8889580,"avatar_url":"https://avatars0.githubusercontent.com/u/8889580?v=3","gravatar_id":"","url":"https://api.github.com/users/delventhalz","html_url":"https://github.com/delventhalz","followers_url":"https://api.github.com/users/delventhalz/followers","following_url":"https://api.github.com/users/delventhalz/following{/other_user}","gists_url":"https://api.github.com/users/delventhalz/gists{/gist_id}","starred_url":"https://api.github.com/users/delventhalz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delventhalz/subscriptions","organizations_url":"https://api.github.com/users/delventhalz/orgs","repos_url":"https://api.github.com/users/delventhalz/repos","events_url":"https://api.github.com/users/delventhalz/events{/privacy}","received_events_url":"https://api.github.com/users/delventhalz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"delventhalz","id":8889580,"avatar_url":"https://avatars0.githubusercontent.com/u/8889580?v=3","gravatar_id":"","url":"https://api.github.com/users/delventhalz","html_url":"https://github.com/delventhalz","followers_url":"https://api.github.com/users/delventhalz/followers","following_url":"https://api.github.com/users/delventhalz/following{/other_user}","gists_url":"https://api.github.com/users/delventhalz/gists{/gist_id}","starred_url":"https://api.github.com/users/delventhalz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delventhalz/subscriptions","organizations_url":"https://api.github.com/users/delventhalz/orgs","repos_url":"https://api.github.com/users/delventhalz/repos","events_url":"https://api.github.com/users/delventhalz/events{/privacy}","received_events_url":"https://api.github.com/users/delventhalz/received_events","type":"User","site_admin":false},"assignees":[{"login":"delventhalz","id":8889580,"avatar_url":"https://avatars0.githubusercontent.com/u/8889580?v=3","gravatar_id":"","url":"https://api.github.com/users/delventhalz","html_url":"https://github.com/delventhalz","followers_url":"https://api.github.com/users/delventhalz/followers","following_url":"https://api.github.com/users/delventhalz/following{/other_user}","gists_url":"https://api.github.com/users/delventhalz/gists{/gist_id}","starred_url":"https://api.github.com/users/delventhalz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delventhalz/subscriptions","organizations_url":"https://api.github.com/users/delventhalz/orgs","repos_url":"https://api.github.com/users/delventhalz/repos","events_url":"https://api.github.com/users/delventhalz/events{/privacy}","received_events_url":"https://api.github.com/users/delventhalz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-03-01T16:47:59Z","updated_at":"2017-03-01T22:15:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hyperledger/sawtooth-core/pulls/146","html_url":"https://github.com/hyperledger/sawtooth-core/pull/146","diff_url":"https://github.com/hyperledger/sawtooth-core/pull/146.diff","patch_url":"https://github.com/hyperledger/sawtooth-core/pull/146.patch"},"body":"Makes it possible to query for the status of a batch by id from either API. Batches can have one of three statuses:\r\n      • `COMMITTED` - batch was found in block chain\r\n      • `PENDING` - batch found in batch cache, but not in chain\r\n      • `REJECTED` - batch not found\r\n\r\nAlso includes unit tests for the new requests to both APIs"},"comment":{"url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/comments/283488779","html_url":"https://github.com/hyperledger/sawtooth-core/pull/146#issuecomment-283488779","issue_url":"https://api.github.com/repos/hyperledger/sawtooth-core/issues/146","id":283488779,"user":{"login":"vaporos","id":2374712,"avatar_url":"https://avatars2.githubusercontent.com/u/2374712?v=3","gravatar_id":"","url":"https://api.github.com/users/vaporos","html_url":"https://github.com/vaporos","followers_url":"https://api.github.com/users/vaporos/followers","following_url":"https://api.github.com/users/vaporos/following{/other_user}","gists_url":"https://api.github.com/users/vaporos/gists{/gist_id}","starred_url":"https://api.github.com/users/vaporos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaporos/subscriptions","organizations_url":"https://api.github.com/users/vaporos/orgs","repos_url":"https://api.github.com/users/vaporos/repos","events_url":"https://api.github.com/users/vaporos/events{/privacy}","received_events_url":"https://api.github.com/users/vaporos/received_events","type":"User","site_admin":false},"created_at":"2017-03-01T22:15:50Z","updated_at":"2017-03-01T22:15:50Z","body":"Seems like we should have four states: COMMITTED - it is committed in the current chain; PENDING - it is in the block publisher's pending queue; INVALID - dropped because it was determined to be invalid during execution (by the block publisher sending it to the scheduler, etc.); UNKNOWN - there is no record of this batch."}}
{"actor":{"display_login":"vaporos"}}