{"action":"created","issue":{"url":"https://api.github.com/repos/stellar/stellar-core/issues/741","labels_url":"https://api.github.com/repos/stellar/stellar-core/issues/741/labels{/name}","comments_url":"https://api.github.com/repos/stellar/stellar-core/issues/741/comments","events_url":"https://api.github.com/repos/stellar/stellar-core/issues/741/events","html_url":"https://github.com/stellar/stellar-core/issues/741","id":105330489,"number":741,"title":"Transactions that would defund outstanding offers should fail","user":{"login":"buhrmi","id":51177,"avatar_url":"https://avatars.githubusercontent.com/u/51177?v=3","gravatar_id":"","url":"https://api.github.com/users/buhrmi","html_url":"https://github.com/buhrmi","followers_url":"https://api.github.com/users/buhrmi/followers","following_url":"https://api.github.com/users/buhrmi/following{/other_user}","gists_url":"https://api.github.com/users/buhrmi/gists{/gist_id}","starred_url":"https://api.github.com/users/buhrmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buhrmi/subscriptions","organizations_url":"https://api.github.com/users/buhrmi/orgs","repos_url":"https://api.github.com/users/buhrmi/repos","events_url":"https://api.github.com/users/buhrmi/events{/privacy}","received_events_url":"https://api.github.com/users/buhrmi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-08T08:43:07Z","updated_at":"2015-09-08T08:49:39Z","closed_at":"2015-09-08T08:49:38Z","body":"Assume address AAA has trustline for ZZZ/USD, 0 balance, 200 limit\r\nAssume address AAA has trustline for YYY/EURO, 200 balance, 200 limit\r\nAssume address AAA creates an offer. selling 200 YYY/EURO, buying 200 ZZZ/USD\r\n\r\nNow, if one of these things happens, the offer still is in the system, but becomes impossible to fullfil:\r\n\r\n* AAA removes/reduces the trustline for ZZZ/USD\r\n* AAA sends a payment of YYY/EURO somewhere else\r\n\r\nImho, both of these transactions issued by AAA should fail because they would invalidate an outstanding offer created by AAA."},"comment":{"url":"https://api.github.com/repos/stellar/stellar-core/issues/comments/138482955","html_url":"https://github.com/stellar/stellar-core/issues/741#issuecomment-138482955","issue_url":"https://api.github.com/repos/stellar/stellar-core/issues/741","id":138482955,"user":{"login":"buhrmi","id":51177,"avatar_url":"https://avatars.githubusercontent.com/u/51177?v=3","gravatar_id":"","url":"https://api.github.com/users/buhrmi","html_url":"https://github.com/buhrmi","followers_url":"https://api.github.com/users/buhrmi/followers","following_url":"https://api.github.com/users/buhrmi/following{/other_user}","gists_url":"https://api.github.com/users/buhrmi/gists{/gist_id}","starred_url":"https://api.github.com/users/buhrmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buhrmi/subscriptions","organizations_url":"https://api.github.com/users/buhrmi/orgs","repos_url":"https://api.github.com/users/buhrmi/repos","events_url":"https://api.github.com/users/buhrmi/events{/privacy}","received_events_url":"https://api.github.com/users/buhrmi/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T08:49:38Z","updated_at":"2015-09-08T08:49:38Z","body":"Ah, well... nevermind. I guess it is how it is."}}