setnetworkactive

network

v0.16.3

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#L606-L614.