setnetworkactive

network

v0.15.0

setnetworkactive true|false

Disable/enable all p2p network activity.

Arguments:
1. "state" (boolean, required) true to enable networking, false to disable
Don't trust. Verify. Docs extracted from src/rpc/net.cpp#L604-L612.