{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6122","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6122/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6122/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6122/events","html_url":"https://github.com/bitcoin/bitcoin/pull/6122","id":75521884,"number":6122,"title":"Autoprune: Do relay blocks if possible","user":{"login":"cozz","id":2814559,"avatar_url":"https://avatars.githubusercontent.com/u/2814559?v=3","gravatar_id":"","url":"https://api.github.com/users/cozz","html_url":"https://github.com/cozz","followers_url":"https://api.github.com/users/cozz/followers","following_url":"https://api.github.com/users/cozz/following{/other_user}","gists_url":"https://api.github.com/users/cozz/gists{/gist_id}","starred_url":"https://api.github.com/users/cozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozz/subscriptions","organizations_url":"https://api.github.com/users/cozz/orgs","repos_url":"https://api.github.com/users/cozz/repos","events_url":"https://api.github.com/users/cozz/events{/privacy}","received_events_url":"https://api.github.com/users/cozz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-12T08:46:46Z","updated_at":"2015-05-12T10:08:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/6122","html_url":"https://github.com/bitcoin/bitcoin/pull/6122","diff_url":"https://github.com/bitcoin/bitcoin/pull/6122.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/6122.patch"},"body":"Currently we dont relay blocks in prune-mode, which seems to be very bad, as such a negative side-effect is not even mentioned in the help-message.\r\n\r\nSo with this pr we still relay if the peer has at least up to our pruning threshold.\r\nI added another 6, to give a little more room for preventing the unlikely case that we are pruning the block\r\nwhile the request is in flight. This means that we still relay, if the guy is not more than 282 blocks behind."},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/101221514","html_url":"https://github.com/bitcoin/bitcoin/pull/6122#issuecomment-101221514","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6122","id":101221514,"user":{"login":"sipa","id":548488,"avatar_url":"https://avatars.githubusercontent.com/u/548488?v=3","gravatar_id":"","url":"https://api.github.com/users/sipa","html_url":"https://github.com/sipa","followers_url":"https://api.github.com/users/sipa/followers","following_url":"https://api.github.com/users/sipa/following{/other_user}","gists_url":"https://api.github.com/users/sipa/gists{/gist_id}","starred_url":"https://api.github.com/users/sipa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipa/subscriptions","organizations_url":"https://api.github.com/users/sipa/orgs","repos_url":"https://api.github.com/users/sipa/repos","events_url":"https://api.github.com/users/sipa/events{/privacy}","received_events_url":"https://api.github.com/users/sipa/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T10:08:42Z","updated_at":"2015-05-12T10:08:42Z","body":"Unsure, addnode may work, but automatic discovery shouldn't.\n"}}