aboutsummaryrefslogtreecommitdiff
path: root/build-aux/m4
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2022-04-01 18:22:53 +0200
committerJon Atack <jon@atack.com>2022-05-12 17:41:32 +0200
commit51ec96b904f349056e805c6b2a6de5257e8fbdee (patch)
treebb3608bab19031f499443cdc64481fe710912441 /build-aux/m4
parentdd9f61a184d4d395591ee3e9f1e839473e88ffd0 (diff)
refactor: move StartExtraBlockRelayPeers from header to implementation
where all the other logging actions in src/net.{h,cpp} are located. StartExtraBlockRelayPeers() does not appear to be a hotspot that needs to be inlined for performance, as it is called from CheckForStaleTipAndEvictPeers(), called in turn from StartScheduledTasks() with a scheduleEvery delta of 45 seconds, called at the end of AppInitMain() on bitcoind startup. This allows dropping `#include <logging.h>` from net.h, which can improve compile time/speed. Currently, none of the other includes in net.h use logging.h, except src/sync.h if DEBUG_LOCKCONTENTION is defined.
Diffstat (limited to 'build-aux/m4')
0 files changed, 0 insertions, 0 deletions