{"action":"created","comment":{"url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/comments/190357342","pull_request_review_id":122715960,"id":190357342,"diff_hunk":"@@ -193,18 +193,18 @@ type Renter struct {\n \tlastEstimation modules.RenterPriceEstimation\n \n \t// Utilities.\n-\tchunkCache     map[string]*cacheData\n-\tcmu            *sync.Mutex\n-\tcs             modules.ConsensusSet\n-\tdeps           modules.Dependencies\n-\tg              modules.Gateway\n-\thostContractor hostContractor\n-\thostDB         hostDB\n-\tlog            *persist.Logger\n-\tpersistDir     string\n-\tmu             *siasync.RWMutex\n-\ttg             threadgroup.ThreadGroup\n-\ttpool          modules.TransactionPool\n+\tstaticStreamCache *streamCache","path":"modules/renter/renter.go","position":16,"original_position":16,"commit_id":"566583eef42b79ee3f437113a06afeee8f8e7cf9","original_commit_id":"566583eef42b79ee3f437113a06afeee8f8e7cf9","user":{"login":"ChrisSchinnerl","id":3903476,"avatar_url":"https://avatars0.githubusercontent.com/u/3903476?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisSchinnerl","html_url":"https://github.com/ChrisSchinnerl","followers_url":"https://api.github.com/users/ChrisSchinnerl/followers","following_url":"https://api.github.com/users/ChrisSchinnerl/following{/other_user}","gists_url":"https://api.github.com/users/ChrisSchinnerl/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisSchinnerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisSchinnerl/subscriptions","organizations_url":"https://api.github.com/users/ChrisSchinnerl/orgs","repos_url":"https://api.github.com/users/ChrisSchinnerl/repos","events_url":"https://api.github.com/users/ChrisSchinnerl/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisSchinnerl/received_events","type":"User","site_admin":false},"body":"That's btw also the reason why the `staticContracts` in the contractor are static now, even though the field has methods that modify its contents.\r\n","created_at":"2018-05-23T18:39:19Z","updated_at":"2018-05-23T18:39:19Z","html_url":"https://github.com/NebulousLabs/Sia/pull/3010#discussion_r190357342","pull_request_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/3010","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/comments/190357342"},"html":{"href":"https://github.com/NebulousLabs/Sia/pull/3010#discussion_r190357342"},"pull_request":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/3010"}},"in_reply_to_id":190350747},"pull_request":{"url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/3010","id":187300130,"html_url":"https://github.com/NebulousLabs/Sia/pull/3010","diff_url":"https://github.com/NebulousLabs/Sia/pull/3010.diff","patch_url":"https://github.com/NebulousLabs/Sia/pull/3010.patch","issue_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/3010","number":3010,"state":"open","locked":false,"title":"Heap cache sort","user":{"login":"MSevey","id":15232757,"avatar_url":"https://avatars1.githubusercontent.com/u/15232757?v=4","gravatar_id":"","url":"https://api.github.com/users/MSevey","html_url":"https://github.com/MSevey","followers_url":"https://api.github.com/users/MSevey/followers","following_url":"https://api.github.com/users/MSevey/following{/other_user}","gists_url":"https://api.github.com/users/MSevey/gists{/gist_id}","starred_url":"https://api.github.com/users/MSevey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSevey/subscriptions","organizations_url":"https://api.github.com/users/MSevey/orgs","repos_url":"https://api.github.com/users/MSevey/repos","events_url":"https://api.github.com/users/MSevey/events{/privacy}","received_events_url":"https://api.github.com/users/MSevey/received_events","type":"User","site_admin":false},"body":"Implemented heap for the download cache for deleting least recently accessed chunk.  Added API endpoint to be able to manually set the download cache size.  Added Siatest to confirm API endpoint is working.  Updated API documentation","created_at":"2018-05-10T20:35:53Z","updated_at":"2018-05-23T18:39:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"844f5336cb098fe89518dd3687f0cd0b5f654431","assignee":null,"assignees":[],"requested_reviewers":[{"login":"DavidVorick","id":2316841,"avatar_url":"https://avatars0.githubusercontent.com/u/2316841?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidVorick","html_url":"https://github.com/DavidVorick","followers_url":"https://api.github.com/users/DavidVorick/followers","following_url":"https://api.github.com/users/DavidVorick/following{/other_user}","gists_url":"https://api.github.com/users/DavidVorick/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidVorick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidVorick/subscriptions","organizations_url":"https://api.github.com/users/DavidVorick/orgs","repos_url":"https://api.github.com/users/DavidVorick/repos","events_url":"https://api.github.com/users/DavidVorick/events{/privacy}","received_events_url":"https://api.github.com/users/DavidVorick/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/3010/commits","review_comments_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/3010/comments","review_comment_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/3010/comments","statuses_url":"https://api.github.com/repos/NebulousLabs/Sia/statuses/566583eef42b79ee3f437113a06afeee8f8e7cf9","head":{"label":"MSevey:heapCacheSort","ref":"heapCacheSort","sha":"566583eef42b79ee3f437113a06afeee8f8e7cf9","user":{"login":"MSevey","id":15232757,"avatar_url":"https://avatars1.githubusercontent.com/u/15232757?v=4","gravatar_id":"","url":"https://api.github.com/users/MSevey","html_url":"https://github.com/MSevey","followers_url":"https://api.github.com/users/MSevey/followers","following_url":"https://api.github.com/users/MSevey/following{/other_user}","gists_url":"https://api.github.com/users/MSevey/gists{/gist_id}","starred_url":"https://api.github.com/users/MSevey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSevey/subscriptions","organizations_url":"https://api.github.com/users/MSevey/orgs","repos_url":"https://api.github.com/users/MSevey/repos","events_url":"https://api.github.com/users/MSevey/events{/privacy}","received_events_url":"https://api.github.com/users/MSevey/received_events","type":"User","site_admin":false},"repo":{"id":130724609,"name":"Sia","full_name":"MSevey/Sia","owner":{"login":"MSevey","id":15232757,"avatar_url":"https://avatars1.githubusercontent.com/u/15232757?v=4","gravatar_id":"","url":"https://api.github.com/users/MSevey","html_url":"https://github.com/MSevey","followers_url":"https://api.github.com/users/MSevey/followers","following_url":"https://api.github.com/users/MSevey/following{/other_user}","gists_url":"https://api.github.com/users/MSevey/gists{/gist_id}","starred_url":"https://api.github.com/users/MSevey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSevey/subscriptions","organizations_url":"https://api.github.com/users/MSevey/orgs","repos_url":"https://api.github.com/users/MSevey/repos","events_url":"https://api.github.com/users/MSevey/events{/privacy}","received_events_url":"https://api.github.com/users/MSevey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MSevey/Sia","description":"Blockchain-based marketplace for file storage","fork":true,"url":"https://api.github.com/repos/MSevey/Sia","forks_url":"https://api.github.com/repos/MSevey/Sia/forks","keys_url":"https://api.github.com/repos/MSevey/Sia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MSevey/Sia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MSevey/Sia/teams","hooks_url":"https://api.github.com/repos/MSevey/Sia/hooks","issue_events_url":"https://api.github.com/repos/MSevey/Sia/issues/events{/number}","events_url":"https://api.github.com/repos/MSevey/Sia/events","assignees_url":"https://api.github.com/repos/MSevey/Sia/assignees{/user}","branches_url":"https://api.github.com/repos/MSevey/Sia/branches{/branch}","tags_url":"https://api.github.com/repos/MSevey/Sia/tags","blobs_url":"https://api.github.com/repos/MSevey/Sia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MSevey/Sia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MSevey/Sia/git/refs{/sha}","trees_url":"https://api.github.com/repos/MSevey/Sia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MSevey/Sia/statuses/{sha}","languages_url":"https://api.github.com/repos/MSevey/Sia/languages","stargazers_url":"https://api.github.com/repos/MSevey/Sia/stargazers","contributors_url":"https://api.github.com/repos/MSevey/Sia/contributors","subscribers_url":"https://api.github.com/repos/MSevey/Sia/subscribers","subscription_url":"https://api.github.com/repos/MSevey/Sia/subscription","commits_url":"https://api.github.com/repos/MSevey/Sia/commits{/sha}","git_commits_url":"https://api.github.com/repos/MSevey/Sia/git/commits{/sha}","comments_url":"https://api.github.com/repos/MSevey/Sia/comments{/number}","issue_comment_url":"https://api.github.com/repos/MSevey/Sia/issues/comments{/number}","contents_url":"https://api.github.com/repos/MSevey/Sia/contents/{+path}","compare_url":"https://api.github.com/repos/MSevey/Sia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MSevey/Sia/merges","archive_url":"https://api.github.com/repos/MSevey/Sia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MSevey/Sia/downloads","issues_url":"https://api.github.com/repos/MSevey/Sia/issues{/number}","pulls_url":"https://api.github.com/repos/MSevey/Sia/pulls{/number}","milestones_url":"https://api.github.com/repos/MSevey/Sia/milestones{/number}","notifications_url":"https://api.github.com/repos/MSevey/Sia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MSevey/Sia/labels{/name}","releases_url":"https://api.github.com/repos/MSevey/Sia/releases{/id}","deployments_url":"https://api.github.com/repos/MSevey/Sia/deployments","created_at":"2018-04-23T16:18:13Z","updated_at":"2018-05-15T21:42:30Z","pushed_at":"2018-05-23T18:08:44Z","git_url":"git://github.com/MSevey/Sia.git","ssh_url":"git@github.com:MSevey/Sia.git","clone_url":"https://github.com/MSevey/Sia.git","svn_url":"https://github.com/MSevey/Sia","homepage":"https://sia.tech","size":17550,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NebulousLabs:master","ref":"master","sha":"156bf265dffc743b7199da0be35a5c3d3aa06d0e","user":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars1.githubusercontent.com/u/7471422?v=4","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":25370072,"name":"Sia","full_name":"NebulousLabs/Sia","owner":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars1.githubusercontent.com/u/7471422?v=4","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NebulousLabs/Sia","description":"Blockchain-based marketplace for file storage","fork":false,"url":"https://api.github.com/repos/NebulousLabs/Sia","forks_url":"https://api.github.com/repos/NebulousLabs/Sia/forks","keys_url":"https://api.github.com/repos/NebulousLabs/Sia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NebulousLabs/Sia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NebulousLabs/Sia/teams","hooks_url":"https://api.github.com/repos/NebulousLabs/Sia/hooks","issue_events_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/events{/number}","events_url":"https://api.github.com/repos/NebulousLabs/Sia/events","assignees_url":"https://api.github.com/repos/NebulousLabs/Sia/assignees{/user}","branches_url":"https://api.github.com/repos/NebulousLabs/Sia/branches{/branch}","tags_url":"https://api.github.com/repos/NebulousLabs/Sia/tags","blobs_url":"https://api.github.com/repos/NebulousLabs/Sia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NebulousLabs/Sia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NebulousLabs/Sia/git/refs{/sha}","trees_url":"https://api.github.com/repos/NebulousLabs/Sia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NebulousLabs/Sia/statuses/{sha}","languages_url":"https://api.github.com/repos/NebulousLabs/Sia/languages","stargazers_url":"https://api.github.com/repos/NebulousLabs/Sia/stargazers","contributors_url":"https://api.github.com/repos/NebulousLabs/Sia/contributors","subscribers_url":"https://api.github.com/repos/NebulousLabs/Sia/subscribers","subscription_url":"https://api.github.com/repos/NebulousLabs/Sia/subscription","commits_url":"https://api.github.com/repos/NebulousLabs/Sia/commits{/sha}","git_commits_url":"https://api.github.com/repos/NebulousLabs/Sia/git/commits{/sha}","comments_url":"https://api.github.com/repos/NebulousLabs/Sia/comments{/number}","issue_comment_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/comments{/number}","contents_url":"https://api.github.com/repos/NebulousLabs/Sia/contents/{+path}","compare_url":"https://api.github.com/repos/NebulousLabs/Sia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NebulousLabs/Sia/merges","archive_url":"https://api.github.com/repos/NebulousLabs/Sia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NebulousLabs/Sia/downloads","issues_url":"https://api.github.com/repos/NebulousLabs/Sia/issues{/number}","pulls_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls{/number}","milestones_url":"https://api.github.com/repos/NebulousLabs/Sia/milestones{/number}","notifications_url":"https://api.github.com/repos/NebulousLabs/Sia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NebulousLabs/Sia/labels{/name}","releases_url":"https://api.github.com/repos/NebulousLabs/Sia/releases{/id}","deployments_url":"https://api.github.com/repos/NebulousLabs/Sia/deployments","created_at":"2014-10-17T17:50:25Z","updated_at":"2018-05-22T19:03:31Z","pushed_at":"2018-05-23T18:08:46Z","git_url":"git://github.com/NebulousLabs/Sia.git","ssh_url":"git@github.com:NebulousLabs/Sia.git","clone_url":"https://github.com/NebulousLabs/Sia.git","svn_url":"https://github.com/NebulousLabs/Sia","homepage":"https://sia.tech","size":17619,"stargazers_count":2675,"watchers_count":2675,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":417,"mirror_url":null,"archived":false,"open_issues_count":160,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":417,"open_issues":160,"watchers":2675,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/3010"},"html":{"href":"https://github.com/NebulousLabs/Sia/pull/3010"},"issue":{"href":"https://api.github.com/repos/NebulousLabs/Sia/issues/3010"},"comments":{"href":"https://api.github.com/repos/NebulousLabs/Sia/issues/3010/comments"},"review_comments":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/3010/comments"},"review_comment":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/3010/commits"},"statuses":{"href":"https://api.github.com/repos/NebulousLabs/Sia/statuses/566583eef42b79ee3f437113a06afeee8f8e7cf9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ChrisSchinnerl"}}