Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Dash Core v19.2 updates #38

Merged
merged 2 commits into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/api/remote-procedure-call-quick-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
* [GetCoinJoinInfo](../api/remote-procedure-calls-dash.md#getcoinjoininfo): returns an object containing an information about CoinJoin settings and state. _New in Dash Core 0.15.0_
* [GetSuperblockBudget](../api/remote-procedure-calls-dash.md#getsuperblockbudget): returns the absolute maximum sum of superblock payments allowed.
* [GObject](../api/remote-procedure-calls-dash.md#gobject): provides a set of commands for managing governance objects and displaying information about them. **Updated in Dash Core 19.0.0**
* [Masternode](../api/remote-procedure-calls-dash.md#masternode): provides a set of commands for managing masternodes and displaying information about them. **Updated in Dash Core 19.0.0**
* [Masternode](../api/remote-procedure-calls-dash.md#masternode): provides a set of commands for managing masternodes and displaying information about them. **Updated in Dash Core 19.2.0**
* [MasternodeList](../api/remote-procedure-calls-dash.md#masternodelist): returns a list of masternodes in different modes. **Updated in Dash Core 19.0.0**
* [MnSync](../api/remote-procedure-calls-dash.md#mnsync): returns the sync status, updates to the next step or resets it entirely. _Updated in Dash Core 0.14.0_
* [CoinJoin](../api/remote-procedure-calls-dash.md#coinjoin): controls the CoinJoin process. _Updated in Dash Core 0.12.3_
Expand All @@ -75,7 +75,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
## [Evolution RPCs](../api/remote-procedure-calls-evo.md)

* [BLS](../api/remote-procedure-calls-evo.md#bls): provides a set of commands to execute BLS-related actions. **Updated in Dash Core 19.0.0**
* [ProTx](../api/remote-procedure-calls-evo.md#protx): provides a set of commands to execute ProTx related actions. **Updated in Dash Core 19.0.0**
* [ProTx](../api/remote-procedure-calls-evo.md#protx): provides a set of commands to execute ProTx related actions. **Updated in Dash Core 19.2.0**
* [Quorum](../api/remote-procedure-calls-evo.md#quorum): provides a set of commands for quorums (LLMQs). **Updated in Dash Core 19.0.0**
* [VerifyChainLock](../api/remote-procedure-calls-evo.md#verifychainlock): tests if a quorum signature is valid for a ChainLock. **_New in Dash Core 0.17.0_**
* [VerifyISLock](../api/remote-procedure-calls-evo.md#verifyislock): tests if a quorum signature is valid for an InstantSend lock. **_New in Dash Core 0.17.0_**
Expand Down
42 changes: 22 additions & 20 deletions docs/api/remote-procedure-calls-dash.md
Original file line number Diff line number Diff line change
Expand Up @@ -1312,6 +1312,7 @@ The `masternode status` RPC prints masternode status information.
| →<br>`collateralHash` | string (hex) | Optional<br>(0 or 1) | The masternode's collateral hash |
| →<br>`collateralIndex` | int | Optional<br>(0 or 1) | Index of the collateral |
| →<br>`dmnState` | object | Optional<br>(0 or 1) | Deterministic Masternode State |
| → →<br>`version` | int | Required<br>(exactly 1) | **Added in Dash Core 19.2.0**<br>The version of the most recent ProRegTx or ProUpRegTx |
| → →<br>`service` | string | Required<br>(exactly 1) | The IP address/port of the masternode |
| → →<br>`registeredHeight` | int | Required<br>(exactly 1) | Block height at which the masternode was registered |
| → →<br>`lastPaidHeight` | int | Required<br>(exactly 1) | Block height at which the masternode was last paid |
Expand All @@ -1321,16 +1322,16 @@ The `masternode status` RPC prints masternode status information.
| → →<br>`revocationReason` | int | Required<br>(exactly 1) | Reason code for of masternode operator key revocation |
| → →<br>`ownerAddress` | string | Required<br>(exactly 1) | The owner address |
| → →<br>`votingAddress` | string | Required<br>(exactly 1) | The voting address |
| → →<br>`platformNodeId` | string | Optional<br>(0 or 1) | **Added in Dash Core 19.0.0**<br>Platform P2P node ID, derived from P2P public key (evonodes only) |
| → →<br>`platformP2PPort` | int | Optional<br>(0 or 1) | **Added in Dash Core 19.0.0**<br>Platform P2P port (evonodes only) |
| → →<br>`platformHTTPPort` | int | Optional<br>(0 or 1) | **Added in Dash Core 19.0.0**<br>TCP port of Platform HTTP/API interface (evonodes only) |
| → →<br>`platformNodeId` | string | Optional<br>(0 or 1) | **Added in Dash Core 19.0.0**<br>Platform P2P node ID, derived from P2P public key (evonodes only) |
| → →<br>`platformP2PPort` | int | Optional<br>(0 or 1) | **Added in Dash Core 19.0.0**<br>Platform P2P port (evonodes only) |
| → →<br>`platformHTTPPort` | int | Optional<br>(0 or 1) | **Added in Dash Core 19.0.0**<br>TCP port of Platform HTTP/API interface (evonodes only) |
| → →<br>`payoutAddress` | string | Required<br>(exactly 1) | The payout address |
| → →<br>`pubKeyOperator` | string | Required<br>(exactly 1) | The operator public key |
| → →<br>`operatorPayoutAddress` | string | Optional<br>(0 or 1) | The operator payout address |
| →<br>`state` | string | Required<br>(exactly 1) | The masternode's state. Valid states are:<br>• `WAITING_FOR_PROTX`<br>• `POSE_BANNED`<br>• `REMOVED`<br>• `OPERATOR_KEY_CHANGED`<br>• `PROTX_IP_CHANGED`<br>• `READY`<br>• `ERROR`<br>• `UNKNOWN` |
| →<br>`status` | string | Required<br>(exactly 1) | The masternode's status (description based on current state) |

*Example from Dash Core 19.0.0*
*Example from Dash Core 19.2.0*

``` bash
dash-cli -testnet masternode status
Expand All @@ -1340,28 +1341,29 @@ Result:

``` json
{
"outpoint": "01bb7dc587bb7306444eb5c8106b15a033b9c34c782d2fb46c4910552b59a067-1",
"service": "45.32.237.76:19999",
"proTxHash": "3979cfb79c4562e819aca69ffae2ea84b9b8f29bd89bdc68be67b88c6f31bf99",
"outpoint": "6ce8545e25d4f03aba1527062d9583ae01827c65b234bd979aca5954c6ae3a59-27",
"service": "34.214.48.68:19999",
"proTxHash": "9cb04f271ba050132c00cc5838fb69e77bc55b5689f9d2d850dc528935f8145c",
"type": "HighPerformance",
"collateralHash": "01bb7dc587bb7306444eb5c8106b15a033b9c34c782d2fb46c4910552b59a067",
"collateralIndex": 1,
"collateralHash": "6ce8545e25d4f03aba1527062d9583ae01827c65b234bd979aca5954c6ae3a59",
"collateralIndex": 27,
"dmnState": {
"service": "45.32.237.76:19999",
"registeredHeight": 854390,
"lastPaidHeight": 865943,
"version": 2,
"service": "34.214.48.68:19999",
"registeredHeight": 850334,
"lastPaidHeight": 852599,
"consecutivePayments": 0,
"PoSePenalty": 0,
"PoSeRevivedHeight": 854739,
"PoSeRevivedHeight": -1,
"PoSeBanHeight": -1,
"revocationReason": 0,
"ownerAddress": "yg1zQCne1gSVdJKwUy7LRB3X6tVd6hHiTF",
"votingAddress": "yiCk7DjwBbUGJuJofTA7eXU4hyybu123pD",
"platformNodeID": "71b5c04007f6af71d99893478feb52df0f5a7701",
"platformP2PPort": 22821,
"platformHTTPPort": 22822,
"payoutAddress": "ygRPwFLoC8WeW3ujqrskqHZiQvKpTHF6qv",
"pubKeyOperator": "a73d8c1e640d29e2257042a39bbbac8d867f69ae252e146884816b98ab0d0526ed4992d9cff22ef04878423f66583382"
"ownerAddress": "yeJdYWA1rNSKxxfo7mE2eBUj3ejBGUR6UB",
"votingAddress": "yeJdYWA1rNSKxxfo7mE2eBUj3ejBGUR6UB",
"platformNodeID": "62e960a3f6b650feed98a266b3ccdf6e363562cf",
"platformP2PPort": 36656,
"platformHTTPPort": 1443,
"payoutAddress": "yeRZBWYfeNE4yVUHV4ZLs83Ppn9aMRH57A",
"pubKeyOperator": "b6ee48c7a71a9d8e0813e68ca09846245fa155285f24a62b0ce9cb0102b1994ec58af8ba2a01c09363bdcc395d41f3df"
},
"state": "READY",
"status": "Ready"
Expand Down
Loading