Updated DisconnectNode 0.14.1

This commit is contained in:
Michael Rotarius 2017-05-04 21:21:46 +02:00
parent 98b09d44ac
commit 8bd3251621

View file

@ -7,7 +7,7 @@ http://opensource.org/licenses/MIT.
##### DisconnectNode ##### DisconnectNode
{% include helpers/subhead-links.md %} {% include helpers/subhead-links.md %}
{% assign summary_disconnectnode="immediately disconnects from a specified node." %} {% assign summary_disconnectNode="immediately disconnects from a specified node." %}
{% autocrossref %} {% autocrossref %}
@ -18,10 +18,10 @@ The `disconnectnode` RPC {{summary_disconnectNode}}
*Parameter #1---hostname/IP address and port of node to disconnect* *Parameter #1---hostname/IP address and port of node to disconnect*
{% itemplate ntpd1 %} {% itemplate ntpd1 %}
- n: "Node" - n: "Address"
t: "string" t: "string"
p: "Required<br>(exactly 1)" p: "Required<br>(exactly 1)"
d: "The node you want to disconnect from as a string in the form of `<IP address>:<port>`. The IP address may be a hostname resolvable through DNS, an IPv4 address, an IPv4-as-IPv6 address, or an IPv6 address" d: "*Updated in Bitcoin Core 0.14.1*<br><br>The node you want to disconnect from as a string in the form of `<IP address>:<port>`. The IP address may be a hostname resolvable through DNS, an IPv4 address, an IPv4-as-IPv6 address, or an IPv6 address"
{% enditemplate %} {% enditemplate %}
@ -35,7 +35,7 @@ The `disconnectnode` RPC {{summary_disconnectNode}}
{% enditemplate %} {% enditemplate %}
*Example from Bitcoin Core 0.12.1* *Example from Bitcoin Core 0.14.1*
Disconnects following node from your node. Disconnects following node from your node.
@ -46,7 +46,7 @@ bitcoin-cli -testnet disconnectnode 192.0.2.113:18333
Result (no output from `bitcoin-cli` because result is set to `null`). Result (no output from `bitcoin-cli` because result is set to `null`).
*See also* *See also*
* [AddNode][rpc addnode]: {{summary_getAddNode}}
* [GetAddedNodeInfo][rpc getaddednodeinfo]: {{summary_getAddedNodeInfo}} * [GetAddedNodeInfo][rpc getaddednodeinfo]: {{summary_getAddedNodeInfo}}
{% endautocrossref %} {% endautocrossref %}