aboutsummaryrefslogtreecommitdiff
path: root/src/core_write.cpp
diff options
context:
space:
mode:
authorJon Lund Steffensen <[email protected]>2013-03-26 02:33:25 +0100
committerLuke Dashjr <[email protected]>2016-10-24 10:23:58 +0000
commit7c9a98aac843c9efabd8653caebc35e968b2f335 (patch)
tree3792d80c0d93ba74067a3d59cad4e39527a3a914 /src/core_write.cpp
parentMerge #8793: Do not shadow in src/qt (diff)
downloaddiscoin-7c9a98aac843c9efabd8653caebc35e968b2f335.tar.xz
discoin-7c9a98aac843c9efabd8653caebc35e968b2f335.zip
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.
Diffstat (limited to 'src/core_write.cpp')
0 files changed, 0 insertions, 0 deletions