Skip to content

Commit

Permalink
chore: correct protx revoke params (#114)
Browse files Browse the repository at this point in the history
* chore: correct protx revoke params

* chore: add the revoke reasons enumerated in core source
  • Loading branch information
thephez authored Aug 22, 2024
1 parent 1811954 commit d0d9d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/remote-procedure-calls-evo.md
Original file line number Diff line number Diff line change
Expand Up @@ -1794,13 +1794,13 @@ The `protx revoke` RPC creates and sends a ProUpRevTx to the network.

| Name | Type | Presence | Description |
| ---------------- | ------------ | ----------------------- | ------------------------------------------------------------------------- |
| `operatorPubKey` | string (hex) | Required<br>(exactly 1) | The operator private key belonging to the registered operator public key. |
| `operatorKey` | string (hex) | Required<br>(exactly 1) | The operator private key belonging to the registered operator public key. |

*Parameter #3---reason*

| Name | Type | Presence | Description |
| -------- | ------ | ----------------------- | -------------------------- |
| `reason` | number | Required<br>(exactly 1) | The reason for revocation. |
| `reason` | number | Optional<br>(0 or 1) | The reason for revocation. This is informational and does not effect the revocation:<br>`0` - Reason not specified<br>`1` - Termination of service<br>`2` - Compromised keys<br>`3` - Change of keys |

*Parameter #4---fee source address*

Expand Down

0 comments on commit d0d9d8f

Please sign in to comment.