HomePhabricator

Allow network activity to be temporarily suspended.

Description

Allow network activity to be temporarily suspended.

Added the function SetNetworkActive() which when called with argument set to false disconnects all nodes and sets the flag fNetworkActive to false. As long as this flag is false no new connections are attempted and no incoming connections are accepted. Network activity is reenabled by calling the function with argument true.

Details

Provenance
Jon Lund Steffensen <jonlst@gmail.com>Authored on Mar 26 2013, 01:33
Luke Dashjr <luke-jr+git@utopios.org>Committed on Oct 24 2016, 10:23
deadalnixPushed on May 14 2017, 22:04
Parents
rABC5d0219d983b6: Merge #8793: Do not shadow in src/qt
Branches
Unknown
Tags
Unknown

Event Timeline

Luke Dashjr <luke-jr+git@utopios.org> committed rABC7c9a98aac843: Allow network activity to be temporarily suspended. (authored by Jon Lund Steffensen <jonlst@gmail.com>).Oct 24 2016, 10:23