setnetworkactive JSON-RPC command
Disable/enable all p2p network activity.
1. state (boolean, required) true to enable networking, false to disable
Bitcoin Cash Node Daemon version v23.0.1-fe11d27
Documentation on docs.bitcoincashnode.org reflects the current master branch in Git, and may include API changes that are not yet present in the latest release.