Should not be merged before #13907
[qa] Add test for max number of entries in locator #13915
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:Mf1808-qaInvalidLocator changing 4 files +54 −0-
MarcoFalke commented at 8:48 PM on August 8, 2018: member
- MarcoFalke added the label Tests on Aug 8, 2018
-
MarcoFalke commented at 8:48 PM on August 8, 2018: member
Thanks for @jnewbery providing early feedback.
-
in test/functional/p2p_invalid_locator.py:26 in fa310aeb0f outdated
21 | + 22 | + self.log.info('Test max locator size') 23 | + block_count = node.getblockcount() 24 | + for msg in [msg_getheaders(), msg_getblocks()]: 25 | + self.log.info('Wait for disconnect when sending {} hashes in locator'.format(MAX_LOCATOR_SZ + 1)) 26 | + node.add_p2p_connection(P2PInterface())
jnewbery commented at 9:03 PM on August 8, 2018:Sorry, I was unclear in my comment previously. We still need to call
wait_for_verack(). What I meant was that we should move that call up intoP2PInterface.peer_connect()(a bit like the currentsend_versionargument).jnewbery commented at 9:05 PM on August 8, 2018: memberOne comment inline. Otherwise looks great.
DrahtBot commented at 10:47 PM on August 9, 2018: member<!--e57a25ab6845829454e8d69fc972939a-->No more conflicts as of last run.
in test/functional/test_framework/messages.py:35 in fa310aeb0f outdated
31 | @@ -32,6 +32,7 @@ 32 | MY_RELAY = 1 # from version 70001 onwards, fRelay should be appended to version messages (BIP37) 33 | 34 | MAX_INV_SZ = 50000 35 | +MAX_LOCATOR_SZ = 64
MarcoFalke commented at 2:36 PM on August 10, 2018:Need to be adjusted before merge!
DrahtBot added the label Needs rebase on Aug 10, 2018qa: Add p2p_invalid_locator test fa85c985edMarcoFalke force-pushed on Aug 10, 2018MarcoFalke commented at 6:10 PM on August 10, 2018: memberForce pushed new version. Only change should be 64->101
MarcoFalke added this to the milestone 0.17.0 on Aug 10, 2018achow101 commented at 6:52 PM on August 10, 2018: memberACK fa85c985edbfd297aefb613445deab37c8769753
DrahtBot removed the label Needs rebase on Aug 10, 2018sipa commented at 10:37 PM on August 10, 2018: memberConcept ACK
gmaxwell commented at 10:01 AM on August 11, 2018: contributorACK
MarcoFalke merged this on Aug 11, 2018MarcoFalke closed this on Aug 11, 2018MarcoFalke referenced this in commit a04888a075 on Aug 11, 2018MarcoFalke deleted the branch on Aug 11, 2018UdjinM6 referenced this in commit 7a4c891884 on Jul 4, 2021UdjinM6 referenced this in commit c70e3cf126 on Jul 6, 2021UdjinM6 referenced this in commit 290a23a9e4 on Jul 6, 2021MarcoFalke locked this on Sep 8, 2021LabelsMilestone
0.17.0
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-17 06:15 UTC
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-17 06:15 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me