Blacklist Peer

Blacklist Peer

Blacklists peer.

Method: blacklistPeer

Input parameters:

ParameterTypeRequiredDescription
hostStringNoHost address to blacklist.
walletStringNoBase58 Wallet address of host to blacklist.

Errors:

ErrorDescription
RPC_INTERNAL_ERRORAn unknown error occurred in the node. Please check the node log for details.

Output:

  • a JSON object with "OK" in result field on success.

Example:

GET http://localhost:8081/blacklistPeer

{
  "result": "OK",
  "error": null,
  "id": null
}