{"action":"opened","issue":{"url":"https://api.github.com/repos/iov-one/iov-core/issues/576","repository_url":"https://api.github.com/repos/iov-one/iov-core","labels_url":"https://api.github.com/repos/iov-one/iov-core/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/iov-one/iov-core/issues/576/comments","events_url":"https://api.github.com/repos/iov-one/iov-core/issues/576/events","html_url":"https://github.com/iov-one/iov-core/issues/576","id":386144262,"node_id":"MDU6SXNzdWUzODYxNDQyNjI=","number":576,"title":"Update blockInfo in bns postTx to use pending and confirmed states","user":{"login":"ethanfrey","id":5689864,"node_id":"MDQ6VXNlcjU2ODk4NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5689864?v=4","gravatar_id":"","url":"https://api.github.com/users/ethanfrey","html_url":"https://github.com/ethanfrey","followers_url":"https://api.github.com/users/ethanfrey/followers","following_url":"https://api.github.com/users/ethanfrey/following{/other_user}","gists_url":"https://api.github.com/users/ethanfrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ethanfrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethanfrey/subscriptions","organizations_url":"https://api.github.com/users/ethanfrey/orgs","repos_url":"https://api.github.com/users/ethanfrey/repos","events_url":"https://api.github.com/users/ethanfrey/events{/privacy}","received_events_url":"https://api.github.com/users/ethanfrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-30T11:13:24Z","updated_at":"2018-11-30T11:13:24Z","closed_at":null,"author_association":"MEMBER","body":"Right now it blocks until a commit. Then is immediately confirmed.\r\n\r\nWe can use the tendermint `broadcast_tx_sync` to wait for it to make it into mempool, then return. And subscribe to the tx for notification when it is included in a block. \r\n\r\nThis will make the interface equivalent to other chains. In the UI, we assume that the initial promise is resolved quickly and then can continue to another page and subscribe to updates on it, adding a notification when processed. 1-2 seconds is not much, but is a very slow page load if we can avoid it.\r\n\r\nRefering to this interface:\r\n```ts\r\nexport interface BcpTransactionResponse {\r\n  readonly blockInfo: ValueAndUpdates<BcpBlockInfo>;\r\n...\r\n```"}}
{"actor":{"display_login":"ethanfrey"}}