addpeeraddress "address" port ( tried )
Add the address of a potential peer to the address manager. This RPC is for testing only.
Arguments
1. address (string, required) The IP address of the peer
2. port (numeric, required) The port of the peer
3. tried (boolean, optional, default=false) If true, attempt to add the peer to the tried addresses table
Result
{ (json object)
"success" : true|false (boolean) whether the peer address was successfully added to the address manager
}
Examples
> bitcoin-cli addpeeraddress "1.2.3.4" 8333 true
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "addpeeraddress", "params": ["1.2.3.4", 8333, true]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/