{"action":"created","comment":{"url":"https://api.github.com/repos/Bytom/bytom/pulls/comments/201618097","pull_request_review_id":136152708,"id":201618097,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTYxODA5Nw==","diff_hunk":"@@ -19,20 +25,28 @@ const (\n \tsyncTimeout        = 30 * time.Second\n \trequestRetryTicker = 15 * time.Second\n \n-\tmaxBlocksPending = 1024\n-\tmaxtxsPending    = 32768\n-\tmaxQuitReq       = 256\n+\tmaxBlocksPending  = 1024\n+\tmaxtxsPending     = 32768\n+\tmaxHeadersPending = 32\n \n-\tmaxTxChanSize = 10000 // txChanSize is the size of channel listening to Txpool newTxCh\n+\tmaxQuitReq = 256\n+\n+\tmaxTxChanSize          = 10000 // txChanSize is the size of channel listening to Txpool newTxCh\n+\tMaxRequestBlocksPerMsg = 20","path":"netsync/block_keeper.go","position":34,"original_position":36,"commit_id":"092dedaec92c2101659301fee99ff6a85c6e1b42","original_commit_id":"f1e28ec7c22d9056b7c458ebff8f43c7d2136ae5","user":{"login":"Paladz","id":6713162,"node_id":"MDQ6VXNlcjY3MTMxNjI=","avatar_url":"https://avatars0.githubusercontent.com/u/6713162?v=4","gravatar_id":"","url":"https://api.github.com/users/Paladz","html_url":"https://github.com/Paladz","followers_url":"https://api.github.com/users/Paladz/followers","following_url":"https://api.github.com/users/Paladz/following{/other_user}","gists_url":"https://api.github.com/users/Paladz/gists{/gist_id}","starred_url":"https://api.github.com/users/Paladz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paladz/subscriptions","organizations_url":"https://api.github.com/users/Paladz/orgs","repos_url":"https://api.github.com/users/Paladz/repos","events_url":"https://api.github.com/users/Paladz/events{/privacy}","received_events_url":"https://api.github.com/users/Paladz/received_events","type":"User","site_admin":false},"body":"没有被外部调用的话用小写","created_at":"2018-07-11T09:12:24Z","updated_at":"2018-07-11T09:12:25Z","html_url":"https://github.com/Bytom/bytom/pull/1104#discussion_r201618097","pull_request_url":"https://api.github.com/repos/Bytom/bytom/pulls/1104","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Bytom/bytom/pulls/comments/201618097"},"html":{"href":"https://github.com/Bytom/bytom/pull/1104#discussion_r201618097"},"pull_request":{"href":"https://api.github.com/repos/Bytom/bytom/pulls/1104"}}},"pull_request":{"url":"https://api.github.com/repos/Bytom/bytom/pulls/1104","id":198010321,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MDEwMzIx","html_url":"https://github.com/Bytom/bytom/pull/1104","diff_url":"https://github.com/Bytom/bytom/pull/1104.diff","patch_url":"https://github.com/Bytom/bytom/pull/1104.patch","issue_url":"https://api.github.com/repos/Bytom/bytom/issues/1104","number":1104,"state":"open","locked":false,"title":"Add block fast sync function","user":{"login":"yahtoo","id":20079910,"node_id":"MDQ6VXNlcjIwMDc5OTEw","avatar_url":"https://avatars3.githubusercontent.com/u/20079910?v=4","gravatar_id":"","url":"https://api.github.com/users/yahtoo","html_url":"https://github.com/yahtoo","followers_url":"https://api.github.com/users/yahtoo/followers","following_url":"https://api.github.com/users/yahtoo/following{/other_user}","gists_url":"https://api.github.com/users/yahtoo/gists{/gist_id}","starred_url":"https://api.github.com/users/yahtoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahtoo/subscriptions","organizations_url":"https://api.github.com/users/yahtoo/orgs","repos_url":"https://api.github.com/users/yahtoo/repos","events_url":"https://api.github.com/users/yahtoo/events{/privacy}","received_events_url":"https://api.github.com/users/yahtoo/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-28T12:15:56Z","updated_at":"2018-07-11T09:12:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c62ba735fe9b7387a891ed00985e8cfdc115860","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Bytom/bytom/pulls/1104/commits","review_comments_url":"https://api.github.com/repos/Bytom/bytom/pulls/1104/comments","review_comment_url":"https://api.github.com/repos/Bytom/bytom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Bytom/bytom/issues/1104/comments","statuses_url":"https://api.github.com/repos/Bytom/bytom/statuses/092dedaec92c2101659301fee99ff6a85c6e1b42","head":{"label":"Bytom:fast-sync","ref":"fast-sync","sha":"092dedaec92c2101659301fee99ff6a85c6e1b42","user":{"login":"Bytom","id":28505705,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTA1NzA1","avatar_url":"https://avatars0.githubusercontent.com/u/28505705?v=4","gravatar_id":"","url":"https://api.github.com/users/Bytom","html_url":"https://github.com/Bytom","followers_url":"https://api.github.com/users/Bytom/followers","following_url":"https://api.github.com/users/Bytom/following{/other_user}","gists_url":"https://api.github.com/users/Bytom/gists{/gist_id}","starred_url":"https://api.github.com/users/Bytom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bytom/subscriptions","organizations_url":"https://api.github.com/users/Bytom/orgs","repos_url":"https://api.github.com/users/Bytom/repos","events_url":"https://api.github.com/users/Bytom/events{/privacy}","received_events_url":"https://api.github.com/users/Bytom/received_events","type":"Organization","site_admin":false},"repo":{"id":97181001,"node_id":"MDEwOlJlcG9zaXRvcnk5NzE4MTAwMQ==","name":"bytom","full_name":"Bytom/bytom","owner":{"login":"Bytom","id":28505705,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTA1NzA1","avatar_url":"https://avatars0.githubusercontent.com/u/28505705?v=4","gravatar_id":"","url":"https://api.github.com/users/Bytom","html_url":"https://github.com/Bytom","followers_url":"https://api.github.com/users/Bytom/followers","following_url":"https://api.github.com/users/Bytom/following{/other_user}","gists_url":"https://api.github.com/users/Bytom/gists{/gist_id}","starred_url":"https://api.github.com/users/Bytom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bytom/subscriptions","organizations_url":"https://api.github.com/users/Bytom/orgs","repos_url":"https://api.github.com/users/Bytom/repos","events_url":"https://api.github.com/users/Bytom/events{/privacy}","received_events_url":"https://api.github.com/users/Bytom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Bytom/bytom","description":"Official Go implementation of the Bytom protocol ","fork":false,"url":"https://api.github.com/repos/Bytom/bytom","forks_url":"https://api.github.com/repos/Bytom/bytom/forks","keys_url":"https://api.github.com/repos/Bytom/bytom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bytom/bytom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bytom/bytom/teams","hooks_url":"https://api.github.com/repos/Bytom/bytom/hooks","issue_events_url":"https://api.github.com/repos/Bytom/bytom/issues/events{/number}","events_url":"https://api.github.com/repos/Bytom/bytom/events","assignees_url":"https://api.github.com/repos/Bytom/bytom/assignees{/user}","branches_url":"https://api.github.com/repos/Bytom/bytom/branches{/branch}","tags_url":"https://api.github.com/repos/Bytom/bytom/tags","blobs_url":"https://api.github.com/repos/Bytom/bytom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bytom/bytom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bytom/bytom/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bytom/bytom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bytom/bytom/statuses/{sha}","languages_url":"https://api.github.com/repos/Bytom/bytom/languages","stargazers_url":"https://api.github.com/repos/Bytom/bytom/stargazers","contributors_url":"https://api.github.com/repos/Bytom/bytom/contributors","subscribers_url":"https://api.github.com/repos/Bytom/bytom/subscribers","subscription_url":"https://api.github.com/repos/Bytom/bytom/subscription","commits_url":"https://api.github.com/repos/Bytom/bytom/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bytom/bytom/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bytom/bytom/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bytom/bytom/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bytom/bytom/contents/{+path}","compare_url":"https://api.github.com/repos/Bytom/bytom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bytom/bytom/merges","archive_url":"https://api.github.com/repos/Bytom/bytom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bytom/bytom/downloads","issues_url":"https://api.github.com/repos/Bytom/bytom/issues{/number}","pulls_url":"https://api.github.com/repos/Bytom/bytom/pulls{/number}","milestones_url":"https://api.github.com/repos/Bytom/bytom/milestones{/number}","notifications_url":"https://api.github.com/repos/Bytom/bytom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bytom/bytom/labels{/name}","releases_url":"https://api.github.com/repos/Bytom/bytom/releases{/id}","deployments_url":"https://api.github.com/repos/Bytom/bytom/deployments","created_at":"2017-07-14T01:47:33Z","updated_at":"2018-07-10T09:31:51Z","pushed_at":"2018-07-11T08:34:29Z","git_url":"git://github.com/Bytom/bytom.git","ssh_url":"git@github.com:Bytom/bytom.git","clone_url":"https://github.com/Bytom/bytom.git","svn_url":"https://github.com/Bytom/bytom","homepage":"https://bytom.io/","size":58343,"stargazers_count":849,"watchers_count":849,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":277,"mirror_url":null,"archived":false,"open_issues_count":67,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":277,"open_issues":67,"watchers":849,"default_branch":"master"}},"base":{"label":"Bytom:dev","ref":"dev","sha":"2401c4781d3f159f7687cf1acd796e38f780cd72","user":{"login":"Bytom","id":28505705,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTA1NzA1","avatar_url":"https://avatars0.githubusercontent.com/u/28505705?v=4","gravatar_id":"","url":"https://api.github.com/users/Bytom","html_url":"https://github.com/Bytom","followers_url":"https://api.github.com/users/Bytom/followers","following_url":"https://api.github.com/users/Bytom/following{/other_user}","gists_url":"https://api.github.com/users/Bytom/gists{/gist_id}","starred_url":"https://api.github.com/users/Bytom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bytom/subscriptions","organizations_url":"https://api.github.com/users/Bytom/orgs","repos_url":"https://api.github.com/users/Bytom/repos","events_url":"https://api.github.com/users/Bytom/events{/privacy}","received_events_url":"https://api.github.com/users/Bytom/received_events","type":"Organization","site_admin":false},"repo":{"id":97181001,"node_id":"MDEwOlJlcG9zaXRvcnk5NzE4MTAwMQ==","name":"bytom","full_name":"Bytom/bytom","owner":{"login":"Bytom","id":28505705,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTA1NzA1","avatar_url":"https://avatars0.githubusercontent.com/u/28505705?v=4","gravatar_id":"","url":"https://api.github.com/users/Bytom","html_url":"https://github.com/Bytom","followers_url":"https://api.github.com/users/Bytom/followers","following_url":"https://api.github.com/users/Bytom/following{/other_user}","gists_url":"https://api.github.com/users/Bytom/gists{/gist_id}","starred_url":"https://api.github.com/users/Bytom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bytom/subscriptions","organizations_url":"https://api.github.com/users/Bytom/orgs","repos_url":"https://api.github.com/users/Bytom/repos","events_url":"https://api.github.com/users/Bytom/events{/privacy}","received_events_url":"https://api.github.com/users/Bytom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Bytom/bytom","description":"Official Go implementation of the Bytom protocol ","fork":false,"url":"https://api.github.com/repos/Bytom/bytom","forks_url":"https://api.github.com/repos/Bytom/bytom/forks","keys_url":"https://api.github.com/repos/Bytom/bytom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bytom/bytom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bytom/bytom/teams","hooks_url":"https://api.github.com/repos/Bytom/bytom/hooks","issue_events_url":"https://api.github.com/repos/Bytom/bytom/issues/events{/number}","events_url":"https://api.github.com/repos/Bytom/bytom/events","assignees_url":"https://api.github.com/repos/Bytom/bytom/assignees{/user}","branches_url":"https://api.github.com/repos/Bytom/bytom/branches{/branch}","tags_url":"https://api.github.com/repos/Bytom/bytom/tags","blobs_url":"https://api.github.com/repos/Bytom/bytom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bytom/bytom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bytom/bytom/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bytom/bytom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bytom/bytom/statuses/{sha}","languages_url":"https://api.github.com/repos/Bytom/bytom/languages","stargazers_url":"https://api.github.com/repos/Bytom/bytom/stargazers","contributors_url":"https://api.github.com/repos/Bytom/bytom/contributors","subscribers_url":"https://api.github.com/repos/Bytom/bytom/subscribers","subscription_url":"https://api.github.com/repos/Bytom/bytom/subscription","commits_url":"https://api.github.com/repos/Bytom/bytom/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bytom/bytom/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bytom/bytom/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bytom/bytom/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bytom/bytom/contents/{+path}","compare_url":"https://api.github.com/repos/Bytom/bytom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bytom/bytom/merges","archive_url":"https://api.github.com/repos/Bytom/bytom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bytom/bytom/downloads","issues_url":"https://api.github.com/repos/Bytom/bytom/issues{/number}","pulls_url":"https://api.github.com/repos/Bytom/bytom/pulls{/number}","milestones_url":"https://api.github.com/repos/Bytom/bytom/milestones{/number}","notifications_url":"https://api.github.com/repos/Bytom/bytom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bytom/bytom/labels{/name}","releases_url":"https://api.github.com/repos/Bytom/bytom/releases{/id}","deployments_url":"https://api.github.com/repos/Bytom/bytom/deployments","created_at":"2017-07-14T01:47:33Z","updated_at":"2018-07-10T09:31:51Z","pushed_at":"2018-07-11T08:34:29Z","git_url":"git://github.com/Bytom/bytom.git","ssh_url":"git@github.com:Bytom/bytom.git","clone_url":"https://github.com/Bytom/bytom.git","svn_url":"https://github.com/Bytom/bytom","homepage":"https://bytom.io/","size":58343,"stargazers_count":849,"watchers_count":849,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":277,"mirror_url":null,"archived":false,"open_issues_count":67,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":277,"open_issues":67,"watchers":849,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Bytom/bytom/pulls/1104"},"html":{"href":"https://github.com/Bytom/bytom/pull/1104"},"issue":{"href":"https://api.github.com/repos/Bytom/bytom/issues/1104"},"comments":{"href":"https://api.github.com/repos/Bytom/bytom/issues/1104/comments"},"review_comments":{"href":"https://api.github.com/repos/Bytom/bytom/pulls/1104/comments"},"review_comment":{"href":"https://api.github.com/repos/Bytom/bytom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Bytom/bytom/pulls/1104/commits"},"statuses":{"href":"https://api.github.com/repos/Bytom/bytom/statuses/092dedaec92c2101659301fee99ff6a85c6e1b42"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Paladz"}}