Page MenuHomePhabricator

replace MAX_BLOCKS_ONLY_CONNECTIONS with MAX_BLOCK_RELAY_ONLY_CONNECTIONS
ClosedPublic

Authored by PiRK on Sep 2 2021, 09:13.

Details

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/

`