Preview Website: This is a preview of PR #1175 in progress. Visit the official site at bitcoincore.org
bitcoin core logo

setnetworkactive

setnetworkactive true|false

Disable/enable all p2p network activity.

Arguments:

  1. “state” (boolean, required) true to enable networking, false to disable