Dial peers
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'
Query parameters
persistentbooleanOptionalExample:
Have the peers you are dialing be persistent
true
unconditionalbooleanOptionalExample:
Have the peers you are dialing be unconditional
true
privatebooleanOptionalExample:
Have the peers you are dialing be private
true
peersstring[]OptionalExample:
array of peers to dial
["f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656"]
Responses
200
Dialing seeds in progress. See /net_info for details
application/json
500
empty error
application/json
get
GET /dial_peers HTTP/1.1
Host: atom-tendermint.nownodes.io
Accept: */*
{
"Log": "Dialing seeds in progress. See /net_info for details"
}
Last updated