Documentation exported from Bitcoin Core 23.0

setnetworkactive (23.0.0 RPC)

blockchain

control

mining

network

rawtransactions

signer

util

wallet

zmq

setnetworkactive state

Disable/enable all p2p network activity.

Arguments:
1. state    (boolean, required) true to enable networking, false to disable

Result:
true|false    (boolean) The value that was passed in