HomePhabricator

Remove globals.h use from net.cpp

Description

Remove globals.h use from net.cpp

Summary: The only place where it is used is to compute a buffer size, and it doesn't really need to be used there. ONE8MEGABYTE is good enough.

Test Plan:

make check
../qa/pull-tester/rpc-tests.py maxuploadtarget.py

Reviewers: freetrader, sickpig, kyuupichan, awemany, #bitcoin_abc

Reviewed By: freetrader, #bitcoin_abc

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

Details

Provenance
deadalnixAuthored on Jun 15 2017, 12:06
deadalnixPushed on Jun 16 2017, 11:08
Reviewer
Restricted Project
Differential Revision
D204: Remove globals.h use from net.cpp
Parents
rABC5984dc2cb0ad: De-Coreify build documentation
Branches
Unknown
Tags
Unknown