v1

latestOpenAPI 3.0.0Apache 2.02026-07-17304890.3 KB
Unsafe

Add Peers/Persistent Peers (unsafe)

Set a persistent peer, this route in under unsafe, and has to manually enabled to use.

Example: curl 'localhost:26657/dial_peers?peers=["f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656","0491d373a8e0fcf1023aaf18c51d6a1d0d4f31bd@5.6.7.8:26656"]&persistent=false'

get/dial_peers

Query parameters

persistentboolean
Example:true

Have the peers you are dialing be persistent

unconditionalboolean
Example:true

Have the peers you are dialing be unconditional

privateboolean
Example:true

Have the peers you are dialing be private

peersstring[]

array of peers to dial

Response

Dialing seeds in progress. See /net_info for details

Logstring

Example response

{
  "Log": "Dialing seeds in progress. See /net_info for details"
}