Allow block responses to MSG_CMPCT_BLOCK requests #406

pull TheBlueMatt wants to merge 1 commits into bitcoin:master from TheBlueMatt:master changing 1 files +3 −2
  1. TheBlueMatt commented at 12:33 AM on June 17, 2016: contributor

    No description provided.

  2. TheBlueMatt force-pushed on Jun 17, 2016
  3. TheBlueMatt force-pushed on Jun 17, 2016
  4. Allow block responses to MSG_CMPCT_BLOCK requests c32b2a7c70
  5. TheBlueMatt force-pushed on Jun 17, 2016
  6. luke-jr merged this on Jun 17, 2016
  7. luke-jr closed this on Jun 17, 2016

  8. in bip-0152.mediawiki:None in c32b2a7c70
     113 | @@ -114,7 +114,8 @@ A new inv type (MSG_CMPCT_BLOCK == 4) and several new protocol messages are adde
     114 |  
     115 |  ====MSG_CMPCT_BLOCK====
     116 |  # getdata messages may now contain requests for MSG_CMPCT_BLOCK objects.
     117 | -# Upon receipt of a getdata containing a request for a MSG_CMPCT_BLOCK object with the hash of a block which was recently announced and after having sent the requesting peer a sendcmpct message, nodes MUST respond with a cmpctblock message containing appropriate data representing the block being requested.
     118 | +# Upon receipt of a getdata containing a request for a MSG_CMPCT_BLOCK object with the hash of a block which was recently announced and is close to the tip of the best chain of the receiver and after having sent the requesting peer a sendcmpct message, nodes MUST respond with a cmpctblock message containing appropriate data representing the block being requested.
     119 | +# Upon receipt of a getdata containing a request for a MSG_CMPCT_BLOCK object for which a cmpctblock message is not sent in response, a block message containing the requested block in non-compact form MUST be sent.
    


    rebroad commented at 2:04 PM on August 26, 2016:

    How is it determined when it's not sent?

Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-27 12:10 UTC

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