{"action":"created","issue":{"url":"https://api.github.com/repos/zcash/zcash/issues/1360","repository_url":"https://api.github.com/repos/zcash/zcash","labels_url":"https://api.github.com/repos/zcash/zcash/issues/1360/labels{/name}","comments_url":"https://api.github.com/repos/zcash/zcash/issues/1360/comments","events_url":"https://api.github.com/repos/zcash/zcash/issues/1360/events","html_url":"https://github.com/zcash/zcash/issues/1360","id":175853857,"number":1360,"title":"Develop a better (wrt efficiency and information leakage) note selection heuristic when sending private funds","user":{"login":"bitcartel","id":194979,"avatar_url":"https://avatars.githubusercontent.com/u/194979?v=3","gravatar_id":"","url":"https://api.github.com/users/bitcartel","html_url":"https://github.com/bitcartel","followers_url":"https://api.github.com/users/bitcartel/followers","following_url":"https://api.github.com/users/bitcartel/following{/other_user}","gists_url":"https://api.github.com/users/bitcartel/gists{/gist_id}","starred_url":"https://api.github.com/users/bitcartel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitcartel/subscriptions","organizations_url":"https://api.github.com/users/bitcartel/orgs","repos_url":"https://api.github.com/users/bitcartel/repos","events_url":"https://api.github.com/users/bitcartel/events{/privacy}","received_events_url":"https://api.github.com/users/bitcartel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zcash/zcash/labels/anonymity","name":"anonymity","color":"93b937"},{"url":"https://api.github.com/repos/zcash/zcash/labels/SECURITY","name":"SECURITY","color":"e01010"},{"url":"https://api.github.com/repos/zcash/zcash/labels/wallet","name":"wallet","color":"006b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/zcash/zcash/milestones/40","html_url":"https://github.com/zcash/zcash/milestones/1.0.1%20stabilization","labels_url":"https://api.github.com/repos/zcash/zcash/milestones/40/labels","id":1999493,"number":40,"title":"1.0.1 stabilization","description":"The goal of this release is to fix any non-invasive bugs or infrastructure issues that missed our 1.0.0 launch.","creator":{"login":"nathan-at-least","id":4369700,"avatar_url":"https://avatars.githubusercontent.com/u/4369700?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan-at-least","html_url":"https://github.com/nathan-at-least","followers_url":"https://api.github.com/users/nathan-at-least/followers","following_url":"https://api.github.com/users/nathan-at-least/following{/other_user}","gists_url":"https://api.github.com/users/nathan-at-least/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan-at-least/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan-at-least/subscriptions","organizations_url":"https://api.github.com/users/nathan-at-least/orgs","repos_url":"https://api.github.com/users/nathan-at-least/repos","events_url":"https://api.github.com/users/nathan-at-least/events{/privacy}","received_events_url":"https://api.github.com/users/nathan-at-least/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":0,"state":"open","created_at":"2016-09-12T20:15:56Z","updated_at":"2016-10-05T11:13:15Z","due_on":"2016-11-16T00:00:00Z","closed_at":null},"comments":16,"created_at":"2016-09-08T20:19:41Z","updated_at":"2016-10-05T11:30:50Z","closed_at":null,"body":"Which notes should be selected first?  Biggest value?  Oldest note?\r\nDo we optimize for number of JoinSplits or something else?\r\nWhat fee #1128 should be associated?\r\nUsed by z_sendmany and in future other calls."},"comment":{"url":"https://api.github.com/repos/zcash/zcash/issues/comments/251649670","html_url":"https://github.com/zcash/zcash/issues/1360#issuecomment-251649670","issue_url":"https://api.github.com/repos/zcash/zcash/issues/1360","id":251649670,"user":{"login":"daira","id":643204,"avatar_url":"https://avatars.githubusercontent.com/u/643204?v=3","gravatar_id":"","url":"https://api.github.com/users/daira","html_url":"https://github.com/daira","followers_url":"https://api.github.com/users/daira/followers","following_url":"https://api.github.com/users/daira/following{/other_user}","gists_url":"https://api.github.com/users/daira/gists{/gist_id}","starred_url":"https://api.github.com/users/daira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daira/subscriptions","organizations_url":"https://api.github.com/users/daira/orgs","repos_url":"https://api.github.com/users/daira/repos","events_url":"https://api.github.com/users/daira/events{/privacy}","received_events_url":"https://api.github.com/users/daira/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T11:30:50Z","updated_at":"2016-10-05T11:30:50Z","body":"I wrote:\r\n> [...] The second output note consumes all of the available value (excluding vpub_new if this will be the last JoinSplit). If this value is equal to one of the output note values, then create that as the second output note, otherwise create a temporary note.\r\n\r\nOoh, tricky. I thought this second sentence was just an optimisation, but it actually leaks slightly more information about the input and output values. Let's not use it (it only rarely decreases the number of JoinSplits needed, anyway). To make this change, delete the ``elif`` branch and the ``where`` variable from the Python pseudo code.\r\n\r\n"}}
{"actor":{"display_login":"daira"}}