Wake message handling thread when we receive a new block #9561

pull TheBlueMatt wants to merge 2 commits into bitcoin:master from TheBlueMatt:2017-01-wakeup-on-new-block changing 2 files +3 −2
  1. TheBlueMatt commented at 11:51 PM on January 14, 2017: member

    This forces the message handling thread to make another full iteration of SendMessages prior to going back to sleep, ensuring we announce the new block to all peers before sleeping.

  2. Make WakeMessageHandler public f13914a0e9
  3. Wake message handling thread when we receive a new block
    This forces the message handling thread to make another full
    iteration of SendMessages prior to going back to sleep, ensuring
    we announce the new block to all peers before sleeping.
    241d8938f4
  4. TheBlueMatt force-pushed on Jan 15, 2017
  5. TheBlueMatt commented at 12:03 AM on January 15, 2017: member

    Should be up to a min(closest peer RTT, 100ms) decrease in block announce latency for non-HB-compact peers, especially if combined with #9535.

  6. morcos commented at 12:16 AM on January 15, 2017: member

    tested ACK 241d893

  7. fanquake added the label P2P on Jan 15, 2017
  8. theuni commented at 5:16 AM on January 15, 2017: member

    utACK 241d8938f4b5de1d2564ec7e064d8b0b8efd84a4. This was suggested in #9441 and expected post-merge.

  9. cdecker commented at 10:21 AM on January 16, 2017: contributor

    Tested ACK 241d8938f4b5de1d2564ec7e064d8b0b8efd84a4

  10. sipa commented at 3:47 AM on January 17, 2017: member

    utACK 241d8938f4b5de1d2564ec7e064d8b0b8efd84a4

  11. sipa merged this on Jan 17, 2017
  12. sipa closed this on Jan 17, 2017

  13. sipa referenced this in commit 6696b4635c on Jan 17, 2017
  14. codablock referenced this in commit aab832967d on Jan 19, 2018
  15. codablock referenced this in commit 288dcbd76f on Jan 20, 2018
  16. codablock referenced this in commit 3bd155bd5c on Jan 21, 2018
  17. andvgal referenced this in commit b501910d6d on Jan 6, 2019
  18. CryptoCentric referenced this in commit 4eaf7b42d5 on Feb 27, 2019
  19. CryptoCentric referenced this in commit e11d1ae195 on Feb 27, 2019
  20. MarcoFalke 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-24 15:15 UTC

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