RPC Browser

Command: disconnectnode

Help Content for disconnectnode
disconnectnode "[address]" [nodeid]

Immediately disconnects from the specified peer node.

Strictly one out of 'address' and 'nodeid' can be provided to identify the node.

To disconnect by nodeid, either set 'address' to the empty string, or call using the named 'nodeid' argument only.

1. "address"     (string, optional) The IP address/port of the node
2. "nodeid"      (number, optional) The node ID (see getpeerinfo for node IDs)

> bitcoin-cli disconnectnode ""
> bitcoin-cli disconnectnode "" 1
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": [""] }' -H 'content-type: text/plain;'
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["", 1] }' -H 'content-type: text/plain;'
Execute Command: disconnectnode

Atomicswaps (6)

Blockchain (22)

Control (6)

Generating (2)

Mining (5)

Minting (1)

Network (12)

Rawtransactions (8)

Util (6)

Wallet (48)