Skip to content

Commit 8d1de7f

Browse files
committed
Update RPC Naming
1 parent dc8e4c1 commit 8d1de7f

5 files changed

Lines changed: 107 additions & 107 deletions

File tree

doc/release-notes/draft-release-notes-6.0.0.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ Upgrade instructions: !TODO
3535

3636
#### New RPC commands
3737

38-
* `protx_list`
38+
* `listprotxes`
3939
```
40-
protx_list (detailed wallet_only valid_only height)
40+
listprotxes (detailed wallet_only valid_only height)
4141
4242
Lists all ProTxs.
4343
@@ -54,9 +54,9 @@ Upgrade instructions: !TODO
5454
[...] (list) List of protx txids or, if detailed=true, list of json objects.
5555
```
5656
57-
* `protx_register`
57+
* `registerprotx`
5858
```
59-
protx_register "collateralHash" collateralIndex "ipAndPort" "ownerAddress" "operatorPubKey" "votingAddress" "payoutAddress" (operatorReward "operatorPayoutAddress")
59+
registerprotx "collateralHash" collateralIndex "ipAndPort" "ownerAddress" "operatorPubKey" "votingAddress" "payoutAddress" (operatorReward "operatorPayoutAddress")
6060
6161
Creates and sends a ProTx to the network. The collateral is specified through "collateralHash" and collateralIndex, and must be an unspent
6262
transaction output spendable by this wallet. It must also not be used by any other masternode.
@@ -85,9 +85,9 @@ Upgrade instructions: !TODO
8585
"txid" (string) The transaction id.
8686
```
8787
88-
* `protx_register_fund`
88+
* `fundprotxregistration`
8989
```
90-
protx_register_fund "collateralAddress" "ipAndPort" "ownerAddress" "operatorPubKey" "votingAddress" "payoutAddress" (operatorReward "operatorPayoutAddress")
90+
fundprotxregistration "collateralAddress" "ipAndPort" "ownerAddress" "operatorPubKey" "votingAddress" "payoutAddress" (operatorReward "operatorPayoutAddress")
9191
9292
Creates, funds and sends a ProTx to the network. The resulting transaction will move 10000 PIV
9393
to the address specified by collateralAddress and will then function as masternode collateral.
@@ -115,12 +115,12 @@ Upgrade instructions: !TODO
115115
"txid" (string) The transaction id.
116116
```
117117
118-
* `protx_register_prepare`
118+
* `preprareprotxregistration`
119119
```
120-
protx_register_prepare "collateralHash" collateralIndex "ipAndPort" "ownerAddress" "operatorPubKey" "votingAddress" "payoutAddress" (operatorReward "operatorPayoutAddress")
120+
preprareprotxregistration "collateralHash" collateralIndex "ipAndPort" "ownerAddress" "operatorPubKey" "votingAddress" "payoutAddress" (operatorReward "operatorPayoutAddress")
121121
122122
Creates an unsigned ProTx and returns it. The ProTx must be signed externally with the collateral
123-
key and then passed to "protx_register_submit".
123+
key and then passed to "submitprotxregistration".
124124
The collateral is specified through "collateralHash" and "collateralIndex" and must be an unspent transaction output.
125125
126126
Arguments:
@@ -151,24 +151,24 @@ Upgrade instructions: !TODO
151151
}
152152
```
153153
154-
* `protx_register_submit`
154+
* `submitprotxregistration`
155155
```
156-
protx_register_submit "tx" "sig"
156+
submitprotxregistration "tx" "sig"
157157
158158
Submits the specified ProTx to the network. This command will also sign the inputs of the transaction
159-
which were previously added by "protx_register_prepare" to cover transaction fees
159+
which were previously added by "preprareprotxregistration" to cover transaction fees
160160
161161
Arguments:
162-
1. "tx" (string, required) The serialized transaction previously returned by "protx_register_prepare"
162+
1. "tx" (string, required) The serialized transaction previously returned by "preprareprotxregistration"
163163
2. "sig" (string, required) The signature signed with the collateral key. Must be in base64 format.
164164
165165
Result:
166166
"txid" (string) The transaction id.
167167
```
168168
169-
* `protx_revoke`
169+
* `revokeprotx`
170170
```
171-
protx_revoke \"proTxHash\" (\"operatorKey\" reason)\n"
171+
revokeprotx \"proTxHash\" (\"operatorKey\" reason)\n"
172172
173173
Creates and sends a ProUpRevTx to the network. This will revoke the operator key of the masternode and
174174
put it into the PoSe-banned state. It will also set the service field of the masternode
@@ -187,7 +187,7 @@ Upgrade instructions: !TODO
187187
"txid" (string) The transaction id.
188188
```
189189
190-
* `protx_update_registrar`
190+
* `updateprotxregistrar`
191191
```
192192
protx update_registrar \"proTxHash\" \"operatorPubKey\" \"votingAddress\" \"payoutAddress\" (\"ownerKey\")
193193
@@ -216,9 +216,9 @@ Upgrade instructions: !TODO
216216
"txid" (string) The transaction id.
217217
```
218218
219-
* `protx_update_service`
219+
* `updateprotxservice`
220220
```
221-
protx_update_service "proTxHash" "ipAndPort" ("operatorPayoutAddress" "operatorKey")
221+
updateprotxservice "proTxHash" "ipAndPort" ("operatorPayoutAddress" "operatorKey")
222222
223223
Creates and sends a ProUpServTx to the network. This will update the IP address
224224
of a masternode, and/or the operator payout address.

0 commit comments

Comments
 (0)