{"action":"created","comment":{"url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/comments/32393018","id":32393018,"diff_hunk":"@@ -208,11 +208,11 @@ func (s *State) validTransaction(t types.Transaction) error {\n \tif err != nil {\n \t\treturn err\n \t}\n-\terr = s.validFileContractRevisions(t)\n+\terr = s.validStorageProofs(t)\n \tif err != nil {\n \t\treturn err\n \t}\n-\terr = s.validStorageProofs(t)\n+\terr = s.validFileContractRevisions(t)","path":"modules/consensus/validtransaction.go","position":10,"original_position":10,"commit_id":"f1882078a8d228bf4b89ddf3654d45555730d6df","original_commit_id":"f1882078a8d228bf4b89ddf3654d45555730d6df","user":{"login":"DavidVorick","id":2316841,"avatar_url":"https://avatars.githubusercontent.com/u/2316841?v=3","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},"body":"why did you flip the order on these?","created_at":"2015-06-15T05:51:02Z","updated_at":"2015-06-15T05:51:02Z","html_url":"https://github.com/NebulousLabs/Sia/pull/572#discussion_r32393018","pull_request_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/572","_links":{"self":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/comments/32393018"},"html":{"href":"https://github.com/NebulousLabs/Sia/pull/572#discussion_r32393018"},"pull_request":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/572"}}},"pull_request":{"url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/572","id":37284917,"html_url":"https://github.com/NebulousLabs/Sia/pull/572","diff_url":"https://github.com/NebulousLabs/Sia/pull/572.diff","patch_url":"https://github.com/NebulousLabs/Sia/pull/572.patch","issue_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/572","number":572,"state":"open","locked":false,"title":"Tpoolfees","user":{"login":"Mingling94","id":4606838,"avatar_url":"https://avatars.githubusercontent.com/u/4606838?v=3","gravatar_id":"","url":"https://api.github.com/users/Mingling94","html_url":"https://github.com/Mingling94","followers_url":"https://api.github.com/users/Mingling94/followers","following_url":"https://api.github.com/users/Mingling94/following{/other_user}","gists_url":"https://api.github.com/users/Mingling94/gists{/gist_id}","starred_url":"https://api.github.com/users/Mingling94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mingling94/subscriptions","organizations_url":"https://api.github.com/users/Mingling94/orgs","repos_url":"https://api.github.com/users/Mingling94/repos","events_url":"https://api.github.com/users/Mingling94/events{/privacy}","received_events_url":"https://api.github.com/users/Mingling94/received_events","type":"User","site_admin":false},"body":"Implements DoS prevention through checking minerfees with regard to Tpool size","created_at":"2015-06-09T18:37:57Z","updated_at":"2015-06-15T05:51:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ada4dee74056510aa74330599f4e0ea08a5eb509","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/572/commits","review_comments_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/572/comments","review_comment_url":"https://api.github.com/repos/NebulousLabs/Sia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NebulousLabs/Sia/issues/572/comments","statuses_url":"https://api.github.com/repos/NebulousLabs/Sia/statuses/f1882078a8d228bf4b89ddf3654d45555730d6df","head":{"label":"Mingling94:tpoolfees","ref":"tpoolfees","sha":"f1882078a8d228bf4b89ddf3654d45555730d6df","user":{"login":"Mingling94","id":4606838,"avatar_url":"https://avatars.githubusercontent.com/u/4606838?v=3","gravatar_id":"","url":"https://api.github.com/users/Mingling94","html_url":"https://github.com/Mingling94","followers_url":"https://api.github.com/users/Mingling94/followers","following_url":"https://api.github.com/users/Mingling94/following{/other_user}","gists_url":"https://api.github.com/users/Mingling94/gists{/gist_id}","starred_url":"https://api.github.com/users/Mingling94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mingling94/subscriptions","organizations_url":"https://api.github.com/users/Mingling94/orgs","repos_url":"https://api.github.com/users/Mingling94/repos","events_url":"https://api.github.com/users/Mingling94/events{/privacy}","received_events_url":"https://api.github.com/users/Mingling94/received_events","type":"User","site_admin":false},"repo":{"id":36743186,"name":"Sia","full_name":"Mingling94/Sia","owner":{"login":"Mingling94","id":4606838,"avatar_url":"https://avatars.githubusercontent.com/u/4606838?v=3","gravatar_id":"","url":"https://api.github.com/users/Mingling94","html_url":"https://github.com/Mingling94","followers_url":"https://api.github.com/users/Mingling94/followers","following_url":"https://api.github.com/users/Mingling94/following{/other_user}","gists_url":"https://api.github.com/users/Mingling94/gists{/gist_id}","starred_url":"https://api.github.com/users/Mingling94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mingling94/subscriptions","organizations_url":"https://api.github.com/users/Mingling94/orgs","repos_url":"https://api.github.com/users/Mingling94/repos","events_url":"https://api.github.com/users/Mingling94/events{/privacy}","received_events_url":"https://api.github.com/users/Mingling94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mingling94/Sia","description":"Blockchain-based marketplace for file storage","fork":true,"url":"https://api.github.com/repos/Mingling94/Sia","forks_url":"https://api.github.com/repos/Mingling94/Sia/forks","keys_url":"https://api.github.com/repos/Mingling94/Sia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mingling94/Sia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mingling94/Sia/teams","hooks_url":"https://api.github.com/repos/Mingling94/Sia/hooks","issue_events_url":"https://api.github.com/repos/Mingling94/Sia/issues/events{/number}","events_url":"https://api.github.com/repos/Mingling94/Sia/events","assignees_url":"https://api.github.com/repos/Mingling94/Sia/assignees{/user}","branches_url":"https://api.github.com/repos/Mingling94/Sia/branches{/branch}","tags_url":"https://api.github.com/repos/Mingling94/Sia/tags","blobs_url":"https://api.github.com/repos/Mingling94/Sia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mingling94/Sia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mingling94/Sia/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mingling94/Sia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mingling94/Sia/statuses/{sha}","languages_url":"https://api.github.com/repos/Mingling94/Sia/languages","stargazers_url":"https://api.github.com/repos/Mingling94/Sia/stargazers","contributors_url":"https://api.github.com/repos/Mingling94/Sia/contributors","subscribers_url":"https://api.github.com/repos/Mingling94/Sia/subscribers","subscription_url":"https://api.github.com/repos/Mingling94/Sia/subscription","commits_url":"https://api.github.com/repos/Mingling94/Sia/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mingling94/Sia/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mingling94/Sia/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mingling94/Sia/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mingling94/Sia/contents/{+path}","compare_url":"https://api.github.com/repos/Mingling94/Sia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mingling94/Sia/merges","archive_url":"https://api.github.com/repos/Mingling94/Sia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mingling94/Sia/downloads","issues_url":"https://api.github.com/repos/Mingling94/Sia/issues{/number}","pulls_url":"https://api.github.com/repos/Mingling94/Sia/pulls{/number}","milestones_url":"https://api.github.com/repos/Mingling94/Sia/milestones{/number}","notifications_url":"https://api.github.com/repos/Mingling94/Sia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mingling94/Sia/labels{/name}","releases_url":"https://api.github.com/repos/Mingling94/Sia/releases{/id}","created_at":"2015-06-02T15:36:51Z","updated_at":"2015-06-08T16:00:14Z","pushed_at":"2015-06-12T05:14:02Z","git_url":"git://github.com/Mingling94/Sia.git","ssh_url":"git@github.com:Mingling94/Sia.git","clone_url":"https://github.com/Mingling94/Sia.git","svn_url":"https://github.com/Mingling94/Sia","homepage":"http://siacoin.com","size":5154,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"NebulousLabs:master","ref":"master","sha":"045abf88aefa17d0c614a7d0670b118c525ac354","user":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars.githubusercontent.com/u/7471422?v=3","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://avatars.githubusercontent.com/u/7471422?v=3","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}","created_at":"2014-10-17T17:50:25Z","updated_at":"2015-06-11T02:26:19Z","pushed_at":"2015-06-15T05:45:48Z","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":"http://siacoin.com","size":28698,"stargazers_count":45,"watchers_count":45,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":41,"forks":10,"open_issues":41,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/572"},"html":{"href":"https://github.com/NebulousLabs/Sia/pull/572"},"issue":{"href":"https://api.github.com/repos/NebulousLabs/Sia/issues/572"},"comments":{"href":"https://api.github.com/repos/NebulousLabs/Sia/issues/572/comments"},"review_comments":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/572/comments"},"review_comment":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NebulousLabs/Sia/pulls/572/commits"},"statuses":{"href":"https://api.github.com/repos/NebulousLabs/Sia/statuses/f1882078a8d228bf4b89ddf3654d45555730d6df"}}}}