rpc: add private & unconditional to /dial_peer (#5293)

## Description

Allow dialing of private and unconditional peers through the RPC

Closes: #1705
This commit is contained in:
Marko
2020-09-01 14:43:23 +02:00
committed by GitHub
parent 43c3e4265b
commit b6a5f7b126
11 changed files with 124 additions and 42 deletions

View File

@@ -569,6 +569,18 @@ paths:
schema:
type: boolean
example: true
- in: query
name: unconditional
description: Have the peers you are dialing be unconditional
schema:
type: boolean
example: true
- in: query
name: private
description: Have the peers you are dialing be private
schema:
type: boolean
example: true
- in: query
name: peers
description: array of peers to dial