Consider reducing 'getblocks' limit below 500 #2368

issue jgarzik opened this issue on March 14, 2013
  1. jgarzik commented at 7:17 PM on March 14, 2013: contributor

    500 blocks is quite a lot of data. I wonder if we shouldn't target a byte size rather than block count, between requests. e.g. 32MB or somesuch.

  2. gmaxwell commented at 8:07 PM on March 14, 2013: contributor

    It's size limited right now because of the buffer targeting.

  3. laanwj closed this on Nov 11, 2015

  4. dcousens commented at 8:53 PM on November 11, 2015: contributor

    @laanwj no longer an issue?

  5. sipa commented at 8:58 PM on November 11, 2015: member

    "getblocks" is no longer user in headers-first sync. And the results of "getheaders" (2000 at once!) are dealt with differently.

  6. dcousens commented at 9:35 PM on November 11, 2015: contributor

    Thanks @sipa

  7. laanwj commented at 8:11 AM on November 12, 2015: member

    This issue confused me: 'getblocks' returns 'invs', not actual block data. The problem was always in how we handled block invs, not so much getblocks itself. But as @sipa says, that too has been solved with the new mechanism.

  8. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-20 00:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me