Use compact blocks for blocks that have equal work to our active tip #9427

pull rebroad wants to merge 1 commits into bitcoin:master from rebroad:UseCmpctBlockForCompetingBlocks changing 1 files +1 −1
  1. rebroad commented at 7:52 AM on December 26, 2016: contributor

    Currently, the check for downloading a block is different here than it is in the parallel block fetch code, which means that we always request the full block when we could be using the compact block. This commit allows the compact block received to be utilized.

    As a future improvement, we can add logic to allow the TXs in the latest block to be utilized also, saving them from being re-fetched due to not being in the mempool.

  2. rebroad renamed this:
    Use compact blocks for blocks that are levl with our active tip rather than requesting a full block
    Use compact blocks for blocks that have equal work to our active tip rather than requesting a full block
    on Dec 26, 2016
  3. rebroad renamed this:
    Use compact blocks for blocks that have equal work to our active tip rather than requesting a full block
    Use compact blocks for blocks that have equal work to our active
    on Dec 26, 2016
  4. rebroad renamed this:
    Use compact blocks for blocks that have equal work to our active
    Use compact blocks for blocks that have equal work to our active tip
    on Dec 26, 2016
  5. Use compact blocks for blocks that have equal work to our current active
    tip (rather than requesting a full block each time).
    
    Currently, the check for downloading a block is different here than it
    is in the parallel block fetch code, which means that we always request
    the full block when we could be using the compact block. This commit
    allows the compact block received to be utilized.
    2eaf4b468d
  6. rebroad force-pushed on Dec 26, 2016
  7. fanquake added the label P2P on Dec 26, 2016
  8. fanquake commented at 12:59 PM on May 18, 2017: member

    Closing due to no discussion. Will re-open if someone comments.

  9. fanquake closed this on May 18, 2017

  10. 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-22 18:15 UTC

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