#8049 changed the calls to GetBoolArg("-blocksonly") to a global boolean fRelayTxes
. Inside CNode::PushVersion
, fRelayTxes
refers to the CNode instance variable with the same name, however, causing the connecting node to always send false here, and never receive any transactions.
I’ve attempted to add a unit test for this, but we don’t seem to ever test receiving relayed transactions by a connecting node only…