Unsafe
Add Peers/Persistent Peers (unsafe)
Changed onSet 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
Request
- Base URLhttp://localhost:26657
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
[ "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
- info
added the new optional
queryrequest parameterprivate - info
added the new optional
queryrequest parameterunconditional
- info
- info
endpoint added
- info