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'
Query parameters
Have the peers you are dialing be persistent
Have the peers you are dialing be unconditional
Have the peers you are dialing be private
array of peers to dial
[ "f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656" ]
Response
Dialing seeds in progress. See /net_info for details
Example response
{
"Log": "Dialing seeds in progress. See /net_info for details"
}Changes
Changed in 3 of the 18 revisions of this API.13
- ○
added the new optional
queryrequest parameterprivatenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterunconditionalnew-optional-request-parameter
- ○
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api removed without deprecation
api-removed-without-deprecation
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 18 revisions, 1 has no diff computed.