{"action":"created","issue":{"url":"https://api.github.com/repos/Tribler/tribler/issues/2064","repository_url":"https://api.github.com/repos/Tribler/tribler","labels_url":"https://api.github.com/repos/Tribler/tribler/issues/2064/labels{/name}","comments_url":"https://api.github.com/repos/Tribler/tribler/issues/2064/comments","events_url":"https://api.github.com/repos/Tribler/tribler/issues/2064/events","html_url":"https://github.com/Tribler/tribler/pull/2064","id":145247424,"number":2064,"title":"WIP : First Credit mining prototype","user":{"login":"ardhipoetra","id":2739025,"avatar_url":"https://avatars.githubusercontent.com/u/2739025?v=3","gravatar_id":"","url":"https://api.github.com/users/ardhipoetra","html_url":"https://github.com/ardhipoetra","followers_url":"https://api.github.com/users/ardhipoetra/followers","following_url":"https://api.github.com/users/ardhipoetra/following{/other_user}","gists_url":"https://api.github.com/users/ardhipoetra/gists{/gist_id}","starred_url":"https://api.github.com/users/ardhipoetra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardhipoetra/subscriptions","organizations_url":"https://api.github.com/users/ardhipoetra/orgs","repos_url":"https://api.github.com/users/ardhipoetra/repos","events_url":"https://api.github.com/users/ardhipoetra/events{/privacy}","received_events_url":"https://api.github.com/users/ardhipoetra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Tribler/tribler/labels/blocker","name":"blocker","color":"e11d21"},{"url":"https://api.github.com/repos/Tribler/tribler/labels/WIP","name":"WIP","color":"ab6420"},{"url":"https://api.github.com/repos/Tribler/tribler/labels/_Top%20Priority_","name":"_Top Priority_","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":55,"created_at":"2016-04-01T18:14:37Z","updated_at":"2016-06-16T08:36:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Tribler/tribler/pulls/2064","html_url":"https://github.com/Tribler/tribler/pull/2064","diff_url":"https://github.com/Tribler/tribler/pull/2064.diff","patch_url":"https://github.com/Tribler/tribler/pull/2064.patch"},"body":"This PR handles first protoype of auto credit mining in Tribler. Actually, it has been mentioned in #573.\r\n\r\nSome GUI components change in home screen. Instead of showing most recent/popular video, list of popular channels is shown. Selecting (or unselect) those checkboxes will affect what channel that we will _mine_.\r\n\r\n![home-page](https://cloud.githubusercontent.com/assets/2739025/14215418/18113e48-f843-11e5-8a56-584a3899a6bd.png)\r\n\r\n\r\nA new GUI page called credit mining is there. Basically it didn't change much from #23. I just changed the adding/removing sources part (especially channels) to be done in single click. And now, each source has it's own statistics, and I keep the total statistics in the top part of the screen. Some source info also available in the right part.\r\n\r\n![cm-page](https://cloud.githubusercontent.com/assets/2739025/14214760/113b7358-f83f-11e5-897b-e5a83dabe058.png)\r\n\r\nMore in the core:\r\nWhen Tribler start the credit mining process, it will (by default) look for swarm that has less seeder ratio compared to all the peers. Tribler will auto-download those swarm, and maximize the ratio credit if possible. We also determined the ratio we want.\r\n\r\nSome progress shown in #1842. It includes (also some works that need to be done): \r\n\r\n- [x] revamped some GUI's (cc80e2619003e74ae037895c1bac7978e64799ee)\r\n- [x] Fixing known bugs from previous work (415efe5d773f69e6e780f396dbbe27498fbe3d69)\r\n- [ ] Dead tracker reduces performance (blacklisting OR completely integrate with central tracker management)\r\n- [x] DHT-only support (not perfect but will do for now) (ec2586ba6c8078d1211e2bfa199bc8760e3f3d23).\r\nBasically, it translates information we can get from peers discovered by DHT to swarm health (seeder/leecher)\r\n- [x] Main download (in _download_ screen) aware mechanism (cee0d5d0bfe4dc491a3434a28b83ba96f9e2f039).\r\nWe don't want main downloading activity become slower because of mining. Also, continue to download some stuff that already mined.\r\n- [x] DHT Performance evaluation -beta (nothing to do with Tribler code)\r\n"},"comment":{"url":"https://api.github.com/repos/Tribler/tribler/issues/comments/226422710","html_url":"https://github.com/Tribler/tribler/pull/2064#issuecomment-226422710","issue_url":"https://api.github.com/repos/Tribler/tribler/issues/2064","id":226422710,"user":{"login":"ardhipoetra","id":2739025,"avatar_url":"https://avatars.githubusercontent.com/u/2739025?v=3","gravatar_id":"","url":"https://api.github.com/users/ardhipoetra","html_url":"https://github.com/ardhipoetra","followers_url":"https://api.github.com/users/ardhipoetra/followers","following_url":"https://api.github.com/users/ardhipoetra/following{/other_user}","gists_url":"https://api.github.com/users/ardhipoetra/gists{/gist_id}","starred_url":"https://api.github.com/users/ardhipoetra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardhipoetra/subscriptions","organizations_url":"https://api.github.com/users/ardhipoetra/orgs","repos_url":"https://api.github.com/users/ardhipoetra/repos","events_url":"https://api.github.com/users/ardhipoetra/events{/privacy}","received_events_url":"https://api.github.com/users/ardhipoetra/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T08:36:05Z","updated_at":"2016-06-16T08:36:05Z","body":"retest this please"}}
{"actor":{"display_login":"ardhipoetra"}}