disconnectnode RPC immediately disconnects from a specified node.
Parameter #1—hostname/IP address and port of node to disconnect
|The node you want to disconnect from as a string in the form of
null on success or error on failed disconnect
Disconnects following node from your node.
pai-cli -testnet disconnectnode 192.0.2.113:18333
Result (no output from
pai-cli because result is set to
AddNode: attempts to add or remove a node from the addnode list, or to try a connection to a node once.
GetAddedNodeInfo: returns information about the given added node, or all added nodes (except onetry nodes). Only nodes which have been manually added using the addnode RPC will have their information displayed. 3