This will speed up block propagation since the annoucement request can wait until after we have requested the block data.
Request announcement by cmpctblock AFTER requesting cmpctblock/blocktxn #9315
pull rebroad wants to merge 1 commits into bitcoin:master from rebroad:RequestAnnounceAfter changing 1 files +10 −7-
rebroad commented at 10:42 AM on December 10, 2016: contributor
- fanquake added the label P2P on Dec 10, 2016
-
gmaxwell commented at 7:19 PM on December 10, 2016: contributor
Is the theory here that it will make it faster because it will move the getdata ahead of the 12 byte sendcmpt message?
- rebroad force-pushed on Dec 12, 2016
-
rebroad commented at 3:22 AM on December 13, 2016: contributor
@gmaxwell Also worth bearing in mind that some implementations may round-robin the messages being processed from peers, so changing the order of the messages might mean being one place further forward in the queue for receiving blocks from such a peer.
Oh, and the sendcmpCt message is 33 bytes (including the header, 9 without the header), not 12.
-
d1d86760a3
Request announcement by cmpctblock AFTER requesting cmpctblock/blocktxn
This will speed up block propagation since the annoucement request can wait until after we have requested the block data.
- rebroad force-pushed on Dec 24, 2016
-
TheBlueMatt commented at 4:54 PM on January 3, 2017: member
This would make a noticeable difference in some cases, not sure why I missed this until now.
-
TheBlueMatt commented at 8:30 PM on January 14, 2017: member
Should be obsoleted by #9400.
- fanquake closed this on Jan 21, 2017
- MarcoFalke locked this on Sep 8, 2021
Contributors
Labels