{"action":"created","issue":{"url":"https://api.github.com/repos/AElfProject/AElf/issues/582","repository_url":"https://api.github.com/repos/AElfProject/AElf","labels_url":"https://api.github.com/repos/AElfProject/AElf/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/AElfProject/AElf/issues/582/comments","events_url":"https://api.github.com/repos/AElfProject/AElf/issues/582/events","html_url":"https://github.com/AElfProject/AElf/issues/582","id":376374525,"node_id":"MDU6SXNzdWUzNzYzNzQ1MjU=","number":582,"title":"Network: Until sync up to latest block, the latest block should not be announced and sent to unavailable node","user":{"login":"EricBlack","id":5166529,"node_id":"MDQ6VXNlcjUxNjY1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/5166529?v=4","gravatar_id":"","url":"https://api.github.com/users/EricBlack","html_url":"https://github.com/EricBlack","followers_url":"https://api.github.com/users/EricBlack/followers","following_url":"https://api.github.com/users/EricBlack/following{/other_user}","gists_url":"https://api.github.com/users/EricBlack/gists{/gist_id}","starred_url":"https://api.github.com/users/EricBlack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricBlack/subscriptions","organizations_url":"https://api.github.com/users/EricBlack/orgs","repos_url":"https://api.github.com/users/EricBlack/repos","events_url":"https://api.github.com/users/EricBlack/events{/privacy}","received_events_url":"https://api.github.com/users/EricBlack/received_events","type":"User","site_admin":false},"labels":[{"id":760516542,"node_id":"MDU6TGFiZWw3NjA1MTY1NDI=","url":"https://api.github.com/repos/AElfProject/AElf/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":889866778,"node_id":"MDU6TGFiZWw4ODk4NjY3Nzg=","url":"https://api.github.com/repos/AElfProject/AElf/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":1105316628,"node_id":"MDU6TGFiZWwxMTA1MzE2NjI4","url":"https://api.github.com/repos/AElfProject/AElf/labels/network","name":"network","color":"6f3faa","default":false}],"state":"closed","locked":false,"assignee":{"login":"EricBlack","id":5166529,"node_id":"MDQ6VXNlcjUxNjY1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/5166529?v=4","gravatar_id":"","url":"https://api.github.com/users/EricBlack","html_url":"https://github.com/EricBlack","followers_url":"https://api.github.com/users/EricBlack/followers","following_url":"https://api.github.com/users/EricBlack/following{/other_user}","gists_url":"https://api.github.com/users/EricBlack/gists{/gist_id}","starred_url":"https://api.github.com/users/EricBlack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricBlack/subscriptions","organizations_url":"https://api.github.com/users/EricBlack/orgs","repos_url":"https://api.github.com/users/EricBlack/repos","events_url":"https://api.github.com/users/EricBlack/events{/privacy}","received_events_url":"https://api.github.com/users/EricBlack/received_events","type":"User","site_admin":false},"assignees":[{"login":"EricBlack","id":5166529,"node_id":"MDQ6VXNlcjUxNjY1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/5166529?v=4","gravatar_id":"","url":"https://api.github.com/users/EricBlack","html_url":"https://github.com/EricBlack","followers_url":"https://api.github.com/users/EricBlack/followers","following_url":"https://api.github.com/users/EricBlack/following{/other_user}","gists_url":"https://api.github.com/users/EricBlack/gists{/gist_id}","starred_url":"https://api.github.com/users/EricBlack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricBlack/subscriptions","organizations_url":"https://api.github.com/users/EricBlack/orgs","repos_url":"https://api.github.com/users/EricBlack/repos","events_url":"https://api.github.com/users/EricBlack/events{/privacy}","received_events_url":"https://api.github.com/users/EricBlack/received_events","type":"User","site_admin":false},{"login":"EanCuznaivy","id":17485381,"node_id":"MDQ6VXNlcjE3NDg1Mzgx","avatar_url":"https://avatars2.githubusercontent.com/u/17485381?v=4","gravatar_id":"","url":"https://api.github.com/users/EanCuznaivy","html_url":"https://github.com/EanCuznaivy","followers_url":"https://api.github.com/users/EanCuznaivy/followers","following_url":"https://api.github.com/users/EanCuznaivy/following{/other_user}","gists_url":"https://api.github.com/users/EanCuznaivy/gists{/gist_id}","starred_url":"https://api.github.com/users/EanCuznaivy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EanCuznaivy/subscriptions","organizations_url":"https://api.github.com/users/EanCuznaivy/orgs","repos_url":"https://api.github.com/users/EanCuznaivy/repos","events_url":"https://api.github.com/users/EanCuznaivy/events{/privacy}","received_events_url":"https://api.github.com/users/EanCuznaivy/received_events","type":"User","site_admin":false},{"login":"samfrb","id":35025943,"node_id":"MDQ6VXNlcjM1MDI1OTQz","avatar_url":"https://avatars1.githubusercontent.com/u/35025943?v=4","gravatar_id":"","url":"https://api.github.com/users/samfrb","html_url":"https://github.com/samfrb","followers_url":"https://api.github.com/users/samfrb/followers","following_url":"https://api.github.com/users/samfrb/following{/other_user}","gists_url":"https://api.github.com/users/samfrb/gists{/gist_id}","starred_url":"https://api.github.com/users/samfrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samfrb/subscriptions","organizations_url":"https://api.github.com/users/samfrb/orgs","repos_url":"https://api.github.com/users/samfrb/repos","events_url":"https://api.github.com/users/samfrb/events{/privacy}","received_events_url":"https://api.github.com/users/samfrb/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-01T12:35:18Z","updated_at":"2018-11-14T02:44:49Z","closed_at":"2018-11-14T02:44:49Z","author_association":"COLLABORATOR","body":"## Description\r\nWhen a BP node or FullNode on process to sync up block info from other BP nodes and not catch the latest block, the new generated block should not be sent to the node. Without out this category more packages sent and received from network in short time, and those latest block cannot executed and verified until all before block synced. So it's very wast of network resource on both sides especially there are too much blocks need to sync.\r\n\r\n## Excepted strategy\r\n1. Get the latest block height(H1) to sync up first without accept new generated block.\r\n2. After completed first round of block sync and get latest block height again(H2), if (H2-H1) is greater than 64（or other value）, continue sync up block without accept new generated block. If (H2-H1) is smaller than 64, continue sync up block and accept the new generated block.\r\n3. Util catch the latest height, the node should not accept the latest block to reduce network stress.       "},"comment":{"url":"https://api.github.com/repos/AElfProject/AElf/issues/comments/438517593","html_url":"https://github.com/AElfProject/AElf/issues/582#issuecomment-438517593","issue_url":"https://api.github.com/repos/AElfProject/AElf/issues/582","id":438517593,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODUxNzU5Mw==","user":{"login":"EricBlack","id":5166529,"node_id":"MDQ6VXNlcjUxNjY1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/5166529?v=4","gravatar_id":"","url":"https://api.github.com/users/EricBlack","html_url":"https://github.com/EricBlack","followers_url":"https://api.github.com/users/EricBlack/followers","following_url":"https://api.github.com/users/EricBlack/following{/other_user}","gists_url":"https://api.github.com/users/EricBlack/gists{/gist_id}","starred_url":"https://api.github.com/users/EricBlack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricBlack/subscriptions","organizations_url":"https://api.github.com/users/EricBlack/orgs","repos_url":"https://api.github.com/users/EricBlack/repos","events_url":"https://api.github.com/users/EricBlack/events{/privacy}","received_events_url":"https://api.github.com/users/EricBlack/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T02:44:49Z","updated_at":"2018-11-14T02:44:49Z","author_association":"COLLABORATOR","body":"Close due to fixed."}}
{"actor":{"display_login":"EricBlack"}}