HomePhabricator

replace MAX_BLOCKS_ONLY_CONNECTIONS with MAX_BLOCK_RELAY_ONLY_CONNECTIONS

Description

replace MAX_BLOCKS_ONLY_CONNECTIONS with MAX_BLOCK_RELAY_ONLY_CONNECTIONS

Summary:

-BEGIN VERIFY SCRIPT-
sed -i 's/\<MAX_BLOCKS_ONLY_CONNECTIONS\>/MAX_BLOCK_RELAY_ONLY_CONNECTIONS/g' src/init.cpp
sed -i 's/\<MAX_BLOCKS_ONLY_CONNECTIONS\>/MAX_BLOCK_RELAY_ONLY_CONNECTIONS/g' src/net.h
-END VERIFY SCRIPT-

This is a backport of core#19217

Test Plan:

ninja all check-all
grep -r MAX_BLOCKS_ONLY_CONNECTIONS ../src/

`

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D10019

Details

Provenance
glowangAuthored on Jun 9 2020, 05:04
PiRKCommitted on Sep 2 2021, 14:24
PiRKPushed on Sep 2 2021, 14:24
Reviewer
Restricted Project
Differential Revision
D10019: replace MAX_BLOCKS_ONLY_CONNECTIONS with MAX_BLOCK_RELAY_ONLY_CONNECTIONS
Parents
rABCb5deb4270f47: test: fix intermittent p2p_ibd_txrelay race, add test_framework.py#wait_until
Branches
Unknown
Tags
Unknown