Skip to content

Commit 5ca4e7b

Browse files
committed
docs(rpc): deprecate service field and add addresses for network info
1 parent 579892f commit 5ca4e7b

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

docs/core/api/remote-procedure-calls-evo.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,15 @@ The `protx diff` RPC calculates a diff and a proof between two masternode list.
144144
| → →<br>`nType` | number | Required<br>(exactly 1) | **Added in Dash Core 19.0.0**<br>Type of masternode<br> `0` - Regular masternode<br>`1` - Evolution masternode |
145145
| → →<br>`proRegTxHash` | string (hex) | Required<br>(exactly 1) | The hash of the initial provider registration transaction as hex in RPC byte order |
146146
| → →<br>`confirmedHash` | string (hex) | Required<br>(exactly 1) | The hash of the block where the ProRegTx was mined |
147-
| → →<br>`service` | string | Required<br>(exactly 1) | The IP address/Port of the masternode |
147+
| → →<br>`service` | string | Required<br>(exactly 1) | **DEPRECATED in Dash Core 23.0.0** - Use `addresses['core_p2p'][0]` instead<br>The IP address/Port of the masternode |
148+
| → →<br>`addresses` | object | Required<br>(exactly 1) | **Added in Dash Core 23.0.0**<br>Masternode network addresses object |
149+
| → → →<br>`core_p2p` | array | Required<br>(exactly 1) | Array of core P2P address strings in `ADDR:PORT` format |
150+
| → → →<br>`platform_p2p` | array | Optional<br>(0 or 1) | Array of platform P2P address strings in `ADDR:PORT` format (evonodes only) |
151+
| → → →<br>`platform_https` | array | Optional<br>(0 or 1) | Array of platform HTTPS address strings in `ADDR:PORT` format (evonodes only) |
148152
| → →<br>`pubKeyOperator` | string (hex) | Required<br>(exactly 1) | The operator public key |
149153
| → →<br>`votingAddress` | string | Required<br>(exactly 1) | The voting address |
150154
| → →<br>`isValid` | bool | Required<br>(exactly 1) | Set to `true` if masternode is valid |
151-
| → →<br>`platformHTTPPort` | number | Optional<br>(0 or 1) | **Added in Dash Core 19.0.0**<br>TCP port of Platform HTTP/API interface (evonodes only) |
155+
| → →<br>`platformHTTPPort` | number | Optional<br>(0 or 1) | **DEPRECATED in Dash Core 23.0.0** - Use `addresses['platform_https'][0]` instead<br>TCP port of Platform HTTP/API interface (evonodes only) |
152156
| → →<br>`platformNodeID` | string (hex) | Optional<br>(0 or 1) | **Added in Dash Core 19.0.0**<br>Platform P2P node ID, derived from P2P public key (evonodes only) |
153157
| → →<br>`payoutAddress` | string | Optional<br>(0 or 1) | *Added in Dash Core 18.1.0*<br>The owner's payout address. Only included if the `extended` parameter is set to `true`. |
154158
| → →<br>`operatorPayoutAddress` | string | Required<br>(exactly 1) | *Added in Dash Core 18.1.0*<br>The operator's payout address. Only included if the `extended` parameter is set to `true`. |
@@ -304,7 +308,11 @@ The `protx info` RPC returns detailed information about a deterministic masterno
304308
| →<br>`operatorReward` | number (float) | Required<br>(exactly 1) | The operator reward %. The value must be between `0.00` and `100.00`. |
305309
| →<br>`state` | object/null | Required<br>(exactly 1) | An object containing a provider transaction state |
306310
| → →<br>`version` | number (int) | Required<br>(exactly 1) | **Added in Dash Core 19.2.0**<br>The version of the most recent ProRegTx or ProUpRegTx |
307-
| → →<br>`service` | string | Required<br>(exactly 1) | The masternode's IP:Port |
311+
| → →<br>`service` | string | Required<br>(exactly 1) | **DEPRECATED in Dash Core 23.0.0** - Use `addresses['core_p2p'][0]` instead<br>The masternode's IP:Port |
312+
| → →<br>`addresses` | object | Required<br>(exactly 1) | **Added in Dash Core 23.0.0**<br>Masternode network addresses object |
313+
| → → →<br>`core_p2p` | array | Required<br>(exactly 1) | Array of core P2P address strings in `ADDR:PORT` format |
314+
| → → →<br>`platform_p2p` | array | Optional<br>(0 or 1) | Array of platform P2P address strings in `ADDR:PORT` format (evonodes only) |
315+
| → → →<br>`platform_https` | array | Optional<br>(0 or 1) | Array of platform HTTPS address strings in `ADDR:PORT` format (evonodes only) |
308316
| → →<br>`registeredHeight` | number (int) | Required<br>(exactly 1) | The height where the masternode was registered |
309317
| → →<br>`lastPaidHeight` | number (int) | Required<br>(exactly 1) | The height where the masternode was last paid |
310318
| → →<br>`consecutivePayments` | number (int) | Required<br>(exactly 1) | **Added in Dash Core 19.0.0**<br>The number of consecutive payments the masternode has received in the payment cycle |
@@ -431,7 +439,11 @@ Lists all ProTxs in your wallet or on-chain, depending on the given type. If `ty
431439
| →<br>`operatorReward` | number (float) | Required<br>(exactly 1) | The operator reward %. The value must be between `0.00` and `100.00`. |
432440
| →<br>`state` | object/null | Required<br>(exactly 1) | An object containing a provider transaction state |
433441
| → →<br>`version` | number (int) | Required<br>(exactly 1) | **Added in Dash Core 19.2.0**<br>The version of the most recent ProRegTx or ProUpRegTx |
434-
| → →<br>`service` | string | Required<br>(exactly 1) | The masternode's IP:Port |
442+
| → →<br>`service` | string | Required<br>(exactly 1) | **DEPRECATED in Dash Core 23.0.0** - Use `addresses['core_p2p'][0]` instead<br>The masternode's IP:Port |
443+
| → →<br>`addresses` | object | Required<br>(exactly 1) | **Added in Dash Core 23.0.0**<br>Masternode network addresses object |
444+
| → → →<br>`core_p2p` | array | Required<br>(exactly 1) | Array of core P2P address strings in `ADDR:PORT` format |
445+
| → → →<br>`platform_p2p` | array | Optional<br>(0 or 1) | Array of platform P2P address strings in `ADDR:PORT` format (evonodes only) |
446+
| → → →<br>`platform_https` | array | Optional<br>(0 or 1) | Array of platform HTTPS address strings in `ADDR:PORT` format (evonodes only) |
435447
| → →<br>`registeredHeight` | number (int) | Required<br>(exactly 1) | The height where the masternode was registered |
436448
| → →<br>`lastPaidHeight` | number (int) | Required<br>(exactly 1) | The height where the masternode was last paid |
437449
| → →<br>`consecutivePayments` | number (int) | Required<br>(exactly 1) | **Added in Dash Core 19.0.0**<br>The number of consecutive payments the masternode has received in the payment cycle |
@@ -2105,7 +2117,11 @@ The `quorum info` RPC returns information about a specific quorum.
21052117
| →<br>`members` | array | Required<br>(exactly 1) | An array containing quorum member details |
21062118
| → →<br>Member | object | Required<br>(1 or more) | An object describing a particular member |
21072119
| → → →<br>`proTxHash` | string (hex) | Required<br>(exactly 1) | The masternode's Provider Registration transaction hash |
2108-
| → → →<br>`service` | string | Required<br>(exactly 1) | *Added in Dash Core 18.1.0*<br>The masternode's IP:Port |
2120+
| → → →<br>`service` | string | Required<br>(exactly 1) | **DEPRECATED in Dash Core 23.0.0** - Use `addresses['core_p2p'][0]` instead<br>The masternode's IP:Port |
2121+
| → → →<br>`addresses` | object | Required<br>(exactly 1) | **Added in Dash Core 23.0.0**<br>Masternode network addresses object |
2122+
| → → → →<br>`core_p2p` | array | Required<br>(exactly 1) | Array of core P2P address strings in `ADDR:PORT` format |
2123+
| → → → →<br>`platform_p2p` | array | Optional<br>(0 or 1) | Array of platform P2P address strings in `ADDR:PORT` format (evonodes only) |
2124+
| → → → →<br>`platform_https` | array | Optional<br>(0 or 1) | Array of platform HTTPS address strings in `ADDR:PORT` format (evonodes only) |
21092125
| → → →<br>`pubKeyOperator` | string (hex) | Required<br>(exactly 1) | *Added in Dash Core 0.15.0*<br>The masternode's Operator public key |
21102126
| → → →<br>`valid` | bool | Required<br>(exactly 1) | Indicates if the member is valid |
21112127
| → → →<br>`pubKeyShare` | string | Optional<br>(0 or 1) | Member public key share |

0 commit comments

Comments
 (0)