|
@ -440,13 +440,13 @@ paths: |
|
|
- unsafe |
|
|
- unsafe |
|
|
description: | |
|
|
description: | |
|
|
Dial a peer, this route in under unsafe, and has to manually enabled to use |
|
|
Dial a peer, this route in under unsafe, and has to manually enabled to use |
|
|
parameters: |
|
|
|
|
|
- description: string of possible peers |
|
|
|
|
|
in: body |
|
|
|
|
|
name: Array of peers to connect to |
|
|
|
|
|
required: true |
|
|
|
|
|
schema: |
|
|
|
|
|
$ref: "#/components/schemas/dialSeedsPost" |
|
|
|
|
|
|
|
|
requestBody: |
|
|
|
|
|
description: string of possible peers |
|
|
|
|
|
required: true |
|
|
|
|
|
content: |
|
|
|
|
|
application/json: |
|
|
|
|
|
schema: |
|
|
|
|
|
$ref: "#/components/schemas/dialSeedsPost" |
|
|
responses: |
|
|
responses: |
|
|
200: |
|
|
200: |
|
|
description: Dialing seeds in progress. See /net_info for details |
|
|
description: Dialing seeds in progress. See /net_info for details |
|
@ -468,13 +468,13 @@ paths: |
|
|
- unsafe |
|
|
- unsafe |
|
|
description: | |
|
|
description: | |
|
|
Set a persistent peer, this route in under unsafe, and has to manually enabled to use |
|
|
Set a persistent peer, this route in under unsafe, and has to manually enabled to use |
|
|
parameters: |
|
|
|
|
|
- description: string of possible peers, bool argument if they should be added as persistent |
|
|
|
|
|
in: body |
|
|
|
|
|
name: Array of peers to connect to & if they should be persistent |
|
|
|
|
|
required: true |
|
|
|
|
|
schema: |
|
|
|
|
|
$ref: "#/components/schemas/dialPeersPost" |
|
|
|
|
|
|
|
|
requestBody: |
|
|
|
|
|
description: string of possible peers, bool argument if they should be added as persistent |
|
|
|
|
|
required: true |
|
|
|
|
|
content: |
|
|
|
|
|
application/json: |
|
|
|
|
|
schema: |
|
|
|
|
|
$ref: "#/components/schemas/dialPeersPost" |
|
|
responses: |
|
|
responses: |
|
|
200: |
|
|
200: |
|
|
description: Dialing seeds in progress. See /net_info for details |
|
|
description: Dialing seeds in progress. See /net_info for details |
|
@ -786,7 +786,7 @@ paths: |
|
|
parameters: |
|
|
parameters: |
|
|
- in: query |
|
|
- in: query |
|
|
name: limit |
|
|
name: limit |
|
|
description: Maximum number of unconfirmed transactions to return (max: 100) |
|
|
|
|
|
|
|
|
description: Maximum number of unconfirmed transactions to return (max 100) |
|
|
required: false |
|
|
required: false |
|
|
schema: |
|
|
schema: |
|
|
type: number |
|
|
type: number |
|
@ -1129,16 +1129,16 @@ components: |
|
|
latest_block_time: |
|
|
latest_block_time: |
|
|
type: string |
|
|
type: string |
|
|
example: "2019-08-01T11:52:22.818762194Z" |
|
|
example: "2019-08-01T11:52:22.818762194Z" |
|
|
earliest_block_hash: |
|
|
|
|
|
type: string |
|
|
|
|
|
example: "790BA84C3545FCCC49A5C629CEE6EA58A6E875C3862175BDC11EE7AF54703501" |
|
|
|
|
|
earliest_app_hash: |
|
|
|
|
|
type: string |
|
|
|
|
|
example: "C9AEBB441B787D9F1D846DE51F3826F4FD386108B59B08239653ABF59455C3F8" |
|
|
|
|
|
earliest_block_height: |
|
|
|
|
|
type: string |
|
|
|
|
|
example: "1262196" |
|
|
|
|
|
earliest_block_time: |
|
|
|
|
|
|
|
|
earliest_block_hash: |
|
|
|
|
|
type: string |
|
|
|
|
|
example: "790BA84C3545FCCC49A5C629CEE6EA58A6E875C3862175BDC11EE7AF54703501" |
|
|
|
|
|
earliest_app_hash: |
|
|
|
|
|
type: string |
|
|
|
|
|
example: "C9AEBB441B787D9F1D846DE51F3826F4FD386108B59B08239653ABF59455C3F8" |
|
|
|
|
|
earliest_block_height: |
|
|
|
|
|
type: string |
|
|
|
|
|
example: "1262196" |
|
|
|
|
|
earliest_block_time: |
|
|
type: string |
|
|
type: string |
|
|
example: "2019-08-01T11:52:22.818762194Z" |
|
|
example: "2019-08-01T11:52:22.818762194Z" |
|
|
catching_up: |
|
|
catching_up: |
|
|